export default function (schema: Record<string, any>): () => Promise<{
    string: any;
}>;
