import { EnumProvider } from '../file/provider/provider.enum';
export declare function buildMailConfigFromIntegration(providerSlug: string, config: unknown): any;
export declare function getFromAddress(config: unknown): string;
export declare function getReplyToAddress(config: unknown): string | undefined;
/**
 * Maps an integration_profile config JSON to the flat settings dict that the
 * existing provider classes (S3Provider, AzureProvider, etc.) expect.
 *
 * integration_provider slugs → EnumProvider:
 *   local, s3, gcs       → same
 *   azure-blob           → abs
 *   s3-compatible        → spaces
 */
export declare function buildStorageConfigFromIntegration(providerSlug: string, config: unknown): Record<string, string>;
/** Maps integration_provider slug to EnumProvider. */
export declare function resolveStorageEnumProvider(providerSlug: string): EnumProvider;
/** Maps integration_provider slug to the slug used in the file_provider table. */
export declare function resolveFileProviderSlug(providerSlug: string): string;
/** Maps an integration_profile config JSON to OAuth client credentials. */
export declare function buildOAuthConfigFromIntegration(_providerSlug: string, config: unknown): {
    clientId: string;
    clientSecret: string;
    tenantId?: string;
};
/** Maps an integration_profile config JSON to the API key and optional org needed by AI providers. */
export declare function buildAiConfigFromIntegration(providerSlug: string, config: unknown): {
    apiKey: string;
    organization?: string;
};
//# sourceMappingURL=integration-profile.utils.d.ts.map