import { z } from '../secrets.ts';
export interface DropboxConfig {
    timeout?: number;
    clientId: string;
    clientSecret?: string;
    refreshToken: string;
    rootPath?: string;
    endpoint?: string;
    refreshFn?: (refreshToken: string) => Promise<{
        accessToken: string;
        expiresIn: number;
    }>;
}
export declare const DropboxConfig: z.ZodObject<{
    clientId: z.ZodString;
    clientSecret: z.ZodOptional<import("../secrets.ts").SecretSchema<z.ZodString>>;
    refreshToken: import("../secrets.ts").SecretSchema<z.ZodString>;
    rootPath: z.ZodOptional<z.ZodString>;
    endpoint: z.ZodOptional<z.ZodString>;
    refreshFn: z.ZodOptional<import("../secrets.ts").SecretSchema<z.ZodCustom<(refreshToken: string) => Promise<{
        accessToken: string;
        expiresIn: number;
    }>, (refreshToken: string) => Promise<{
        accessToken: string;
        expiresIn: number;
    }>>>>;
    timeout: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
//# sourceMappingURL=config.d.ts.map