import React from 'react'; export declare const EXTRACT_ID: unique symbol; interface SerializeProps { data: () => T | Promise; } interface WithSerializedProps { children(data?: T): React.ReactElement; } export declare function useSerialized(id: string): [T | undefined, React.ComponentType>]; export declare function createSerializer(id: string): { Serialize: ({ data }: SerializeProps) => null; WithSerialized: ({ children }: WithSerializedProps) => React.ReactElement>; }; export {}; //# sourceMappingURL=serializer.d.ts.map