import { Time } from '../canisters/data/data.did';
export declare const toNullable: <T>(value?: T) => [] | [T];
export declare const fromNullable: <T>(value: [] | [T]) => T;
export declare const toTimestamp: (value: Date) => Time;
export declare const toNullableTimestamp: (value?: Date) => [] | [Time];
export declare const fromTimestamp: (value: Time) => Date;
export declare const fromNullableTimestamp: (value?: [] | [Time]) => Date | undefined;
export declare const fromValue: (value: string) => any;
export declare const toArray: <T>(data: T) => Promise<Array<number>>;
export declare const fromArray: <T>(data: Array<number>) => Promise<T>;
