import { IframeRouteEndpoint, DataConfig } from '../common/types'; /** * This factory wraps the user-defined data getter. This wrapper * takes care of the data localStorage management for each user-defined * `DataConfig` object passed into `createIframe`. * * One of these endpoints will be created per user-defined localStorage * value. Each is added to the routes of the iframe, and await calls * from the application. */ export declare const iframeEndpointFactory: ({ handler, dataKey, expires }: DataConfig) => IframeRouteEndpoint;