/// <reference types="node" />
/// <reference types="bun-types" />
import type { CodexConfigPatchInput, CodexConfigPatchResult, CodexDashboardDiagnostics, CodexFeatureFlagDiagnostics, CodexMcpServerDiagnostics, CodexModelProviderDiagnostics, CodexProjectTrustDiagnostics, CodexRawConfigResponse } from './compatible-cli-types';
import { TomlFileConflictError, TomlFileValidationError } from './compatible-cli-toml-file-service';
interface CodexConfigPaths {
    configPath: string;
    configDisplayPath: string;
    baseDir: string;
    baseDirDisplay: string;
}
interface SaveCodexRawConfigInput {
    rawText: string;
    expectedMtime?: number;
}
interface SaveCodexRawConfigResult {
    success: true;
    mtime: number;
}
export { TomlFileConflictError as CodexRawConfigConflictError, TomlFileValidationError as CodexRawConfigValidationError, };
export declare function resolveCodexConfigPaths(options?: {
    platform?: NodeJS.Platform;
    env?: NodeJS.ProcessEnv;
    homeDir?: string;
}): CodexConfigPaths;
export declare function summarizeCodexModelProviders(value: unknown): CodexModelProviderDiagnostics[];
export declare function summarizeCodexFeatureFlags(value: unknown): {
    all: CodexFeatureFlagDiagnostics[];
    enabled: CodexFeatureFlagDiagnostics[];
    disabled: CodexFeatureFlagDiagnostics[];
};
export declare function summarizeCodexProjectTrust(value: unknown): CodexProjectTrustDiagnostics[];
export declare function summarizeCodexMcpServers(value: unknown): CodexMcpServerDiagnostics[];
export declare function getCodexDashboardDiagnostics(): Promise<CodexDashboardDiagnostics>;
export declare function getCodexRawConfig(): Promise<CodexRawConfigResponse>;
export declare function saveCodexRawConfig(input: SaveCodexRawConfigInput): Promise<SaveCodexRawConfigResult>;
export declare function patchCodexConfig(input: CodexConfigPatchInput): Promise<CodexConfigPatchResult>;
//# sourceMappingURL=codex-dashboard-service.d.ts.map