import type { SharedValue } from './commonTypes';
export type Mapper = {
    id: number;
    dirty: boolean;
    worklet: () => void;
    inputs: SharedValue<any>[];
    outputs?: SharedValue<any>[];
};
export declare function createMapperRegistry(): {
    start: (mapperID: number, worklet: () => void, inputs: SharedValue<any>[], outputs?: SharedValue<any>[]) => void;
    stop: (mapperID: number) => void;
};
export declare function startMapper(worklet: () => void, inputs?: any[], outputs?: any[]): number;
export declare function stopMapper(mapperID: number): void;
