import type { TargetType } from '../../targets/target-adapter';
import type { CLIProxyProvider } from '../../cliproxy/types';
import type { ModelMapping, CreateApiProfileResult, CreateCliproxyBridgeProfileResult, RemoveApiProfileResult, UpdateApiProfileTargetResult } from './profile-types';
/** Create a new API profile */
export declare function createApiProfile(name: string, baseUrl: string, apiKey: string, models: ModelMapping, target?: TargetType, provider?: string, extraModels?: string[]): CreateApiProfileResult;
export declare function createCliproxyBridgeProfile(provider: CLIProxyProvider, options?: {
    name?: string;
    force?: boolean;
    target?: TargetType;
}): CreateCliproxyBridgeProfileResult;
/**
 * Update API profile target (claude/droid).
 * Persists to config.yaml in unified mode and config.json profile_targets in legacy mode.
 */
export declare function updateApiProfileTarget(name: string, target: TargetType): UpdateApiProfileTargetResult;
/** Remove an API profile */
export declare function removeApiProfile(name: string): RemoveApiProfileResult;
//# sourceMappingURL=profile-writer.d.ts.map