export interface CustomPage { type: T; } export declare const create: (t: T) => CustomPage; export declare const toString: (v: CustomPage) => T; export declare const fromString: (t: T) => (v: string) => CustomPage | undefined;