import { z } from '@struktoai/mirage-core/resource/secrets'; import type { ConfigOf, RedactedConfig } from '@struktoai/mirage-core/resource/secrets'; export interface DropboxConfig { clientId: string; clientSecret: string; refreshToken: string; rootPath?: string; contentSearch?: boolean; endpoint?: string; refreshFn?: (refreshToken: string) => Promise<{ accessToken: string; expiresIn: number; }>; } declare const DropboxConfigSchema: z.ZodObject<{ clientId: z.ZodString; clientSecret: z.ZodString; refreshToken: z.ZodString; rootPath: z.ZodOptional; contentSearch: z.ZodOptional; endpoint: z.ZodOptional; refreshFn: z.ZodOptional Promise<{ accessToken: string; expiresIn: number; }>, (refreshToken: string) => Promise<{ accessToken: string; expiresIn: number; }>>>; }, z.core.$strip>; export type DropboxConfigRedacted = RedactedConfig, 'clientSecret' | 'refreshToken' | 'refreshFn'>; export declare function redactDropboxConfig(config: DropboxConfig): DropboxConfigRedacted; export declare function normalizeDropboxConfig(input: Record): DropboxConfig; export {}; //# sourceMappingURL=config.d.ts.map