/**
 * Auth Commands Type Definitions
 *
 * Shared interfaces for auth command modules.
 */
import ProfileRegistry from '../profile-registry';
import { InstanceManager } from '../../management/instance-manager';
export { formatRelativeTime } from '../../utils/time';
/**
 * Command arguments parsed from CLI
 */
export interface AuthCommandArgs {
    profileName?: string;
    force?: boolean;
    verbose?: boolean;
    json?: boolean;
    yes?: boolean;
    shareContext?: boolean;
    contextGroup?: string;
    deeperContinuity?: boolean;
    bare?: boolean;
    mode?: string;
    unknownFlags?: string[];
}
/**
 * Profile output for JSON mode
 */
export interface ProfileOutput {
    name: string;
    type: string;
    is_default: boolean;
    created: string;
    last_used: string | null;
    context_mode?: 'isolated' | 'shared';
    context_group?: string | null;
    continuity_mode?: 'standard' | 'deeper' | null;
    shared_resource_mode?: 'shared' | 'profile-local';
    shared_resource_inferred?: boolean;
    instance_path?: string;
    session_count?: number;
    settings_sync?: {
        state: 'shared' | 'profile-local' | 'missing' | 'unknown';
        profile_settings_path: string;
        shared_settings_path: string;
        root_settings_path: string;
    };
    history?: {
        project_count: number;
        session_count: number;
        projects_path: string;
        projects_shared: boolean;
        deeper_artifacts_shared: boolean;
    };
    plain_ccs_lane?: {
        kind: string;
        label: string;
        config_dir: string;
        project_count: number;
        uses_this_account: boolean;
    };
    bare?: boolean;
}
/**
 * List output for JSON mode
 */
export interface ListOutput {
    version: string;
    profiles: ProfileOutput[];
}
/**
 * Shared context passed to command handlers
 */
export interface CommandContext {
    registry: ProfileRegistry;
    instanceMgr: InstanceManager;
    version: string;
}
export declare function rejectUnsupportedAuthOptions(parsed: Pick<AuthCommandArgs, 'mode' | 'unknownFlags'>, options: {
    usage: string;
    allowMode?: boolean;
}): void;
interface ParseArgsOptions {
    allowMode?: boolean;
}
/**
 * Parse command arguments from raw args array
 */
export declare function parseArgs(args: string[], options?: ParseArgsOptions): AuthCommandArgs;
//# sourceMappingURL=types.d.ts.map