import { IComputedValueOptions } from "mobx";
export declare type ITransformer = (object: A) => B;
export declare type ITransformerCleanup = (resultObject: B | undefined, sourceObject?: A) => void;
export declare type ITransformerParams = {
onCleanup?: ITransformerCleanup;
debugNameGenerator?: (sourceObject?: A) => string;
keepAlive?: boolean;
} & Omit, "name">;
export declare function createTransformer(transformer: ITransformer, onCleanup?: ITransformerCleanup): ITransformer;
export declare function createTransformer(transformer: ITransformer, arg2?: ITransformerParams): ITransformer;