export interface ProviderConfigResult {
    id: string;
    workspaceId: string;
    providerType: string;
    providerName: string;
    config: Record<string, any> | null;
    isDefault: boolean;
    status: number;
    createdAt: Date;
    updatedAt: Date;
}
/**
 * Generic function to find a provider configuration from the database
 * @param workspaceId - Workspace ID to search for
 * @param providerType - Type of provider to find (e.g., PROVIDER_TYPE.TTS, PROVIDER_TYPE.STT)
 * @returns Provider configuration or null if not found
 */
export declare function findProvider(workspaceId: string, providerType: string): Promise<ProviderConfigResult | null>;
/**
 * Find multiple provider configurations for a workspace
 * @param workspaceId - Workspace ID to search for
 * @param providerTypes - Array of provider types to find
 * @returns Map of providerType -> ProviderConfigResult
 */
export declare function findProviders(workspaceId: string, providerTypes: string[]): Promise<Map<string, ProviderConfigResult>>;
/**
 * Legacy function for backward compatibility
 * @deprecated Use findProvider(workspaceId, PROVIDER_TYPE.TTS) instead
 */
export declare function findTtsProvider(workspaceId: string): Promise<ProviderConfigResult | null>;
//# sourceMappingURL=findWorkspaceProvider.d.ts.map