import type { HandlerConfig } from './types.js';
export interface EnvCredentialsParams {
    client_id: string;
    framework: string;
    project_path: string;
    base_url?: string;
    callback_url?: string;
    port?: number;
    dry_run?: boolean;
}
export type EnvCredentialsResult = {
    success: true;
    client_id: string;
    credentials_saved_to?: string;
    keys_written: string[];
    generated_keys: string[];
    file_created: boolean;
    message: string;
} | {
    success: false;
    error: string;
};
export declare function resolveAndWriteCredentials(params: EnvCredentialsParams, config: HandlerConfig, token: string): Promise<EnvCredentialsResult>;
