import { loadConfiguredServices, saveConfiguredService, unconfigureService } from "../../packages/poe-code-config/dist/index.js";
import type { ConfiguredServiceMetadata, SaveConfiguredServiceOptions, UnconfigureServiceOptions } from "../../packages/poe-code-config/dist/index.js";
import { parseNullablePluginConfigEntries, type PluginConfigEntry } from "../../packages/poe-agent/dist/index.js";
import type { FileSystem } from "../utils/file-system.js";
export interface ConfigStoreOptions {
    fs: FileSystem;
    filePath: string;
    projectFilePath?: string;
}
export interface SaveConfigOptions extends ConfigStoreOptions {
    apiKey: string;
}
export { loadConfiguredServices, saveConfiguredService, unconfigureService };
export type { ConfiguredServiceMetadata, SaveConfiguredServiceOptions, UnconfigureServiceOptions };
export declare const coreConfigScope: import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly apiKey: {
        readonly type: "string";
        readonly default: "";
        readonly env: "POE_API_KEY";
        readonly doc: "Poe API key";
    };
    readonly defaultAgent: {
        readonly type: "string";
        readonly default: "";
        readonly env: "POE_DEFAULT_AGENT";
        readonly doc: "Agent (or agent:model) used as the non-interactive --yes default when no --agent flag is provided";
    };
    readonly poeBaseUrl: {
        readonly type: "string";
        readonly default: "https://api.poe.com/v1";
        readonly env: "POE_BASE_URL";
        readonly doc: "Poe API base URL";
    };
}>;
export declare const ralphConfigScope: import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_RALPH_TUI";
        readonly doc: "Enable the Ralph dashboard by default for terminal TTY runs";
    };
}>;
export declare const pipelineConfigScope: import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly plan_directory: {
        readonly type: "string";
        readonly default: ".poe-code/pipeline/plans";
        readonly env: "POE_PIPELINE_PLAN_DIRECTORY";
        readonly doc: "Directory where pipeline plans are stored";
    };
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_PIPELINE_TUI";
        readonly doc: "Enable the Pipeline dashboard by default for terminal TTY runs";
    };
}>;
export declare const experimentConfigScope: import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_EXPERIMENT_TUI";
        readonly doc: "Enable the Experiment dashboard by default for terminal TTY runs";
    };
}>;
export declare const planConfigScope: import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly plan_directory: {
        readonly type: "string";
        readonly default: "docs/plans";
        readonly env: "POE_PLAN_DIRECTORY";
        readonly doc: "Directory where planning documents are stored";
    };
}>;
export declare const agentConfigScope: import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly model: {
        readonly type: "string";
        readonly default: "";
        readonly doc: "Default model identifier for the standalone poe-agent CLI.";
    };
    readonly plugins: {
        readonly type: "json";
        readonly default: PluginConfigEntry[] | null;
        readonly parse: typeof parseNullablePluginConfigEntries;
        readonly doc: "Ordered poe-agent plugin registry entries. Null keeps the built-in default bundle.";
    };
}>;
export declare const knownConfigScopes: readonly [import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly apiKey: {
        readonly type: "string";
        readonly default: "";
        readonly env: "POE_API_KEY";
        readonly doc: "Poe API key";
    };
    readonly defaultAgent: {
        readonly type: "string";
        readonly default: "";
        readonly env: "POE_DEFAULT_AGENT";
        readonly doc: "Agent (or agent:model) used as the non-interactive --yes default when no --agent flag is provided";
    };
    readonly poeBaseUrl: {
        readonly type: "string";
        readonly default: "https://api.poe.com/v1";
        readonly env: "POE_BASE_URL";
        readonly doc: "Poe API base URL";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_RALPH_TUI";
        readonly doc: "Enable the Ralph dashboard by default for terminal TTY runs";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly plan_directory: {
        readonly type: "string";
        readonly default: ".poe-code/pipeline/plans";
        readonly env: "POE_PIPELINE_PLAN_DIRECTORY";
        readonly doc: "Directory where pipeline plans are stored";
    };
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_PIPELINE_TUI";
        readonly doc: "Enable the Pipeline dashboard by default for terminal TTY runs";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_EXPERIMENT_TUI";
        readonly doc: "Enable the Experiment dashboard by default for terminal TTY runs";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly plan_directory: {
        readonly type: "string";
        readonly default: "docs/plans";
        readonly env: "POE_PLAN_DIRECTORY";
        readonly doc: "Directory where planning documents are stored";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly model: {
        readonly type: "string";
        readonly default: "";
        readonly doc: "Default model identifier for the standalone poe-agent CLI.";
    };
    readonly plugins: {
        readonly type: "json";
        readonly default: PluginConfigEntry[] | null;
        readonly parse: typeof parseNullablePluginConfigEntries;
        readonly doc: "Ordered poe-agent plugin registry entries. Null keeps the built-in default bundle.";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly tui: {
        readonly type: "boolean";
        readonly default: false;
        readonly env: "POE_SUPERINTENDENT_TUI";
        readonly doc: "Enable the Superintendent dashboard by default for terminal TTY runs";
    };
}>, import("../../packages/poe-code-config/dist/index.js").ScopeDefinition<{
    readonly agent: {
        readonly type: "string";
        readonly default: "";
        readonly doc: "Agent used for code review; empty uses normal poe-code default agent resolution.";
    };
    readonly draftStore: {
        readonly type: "string";
        readonly default: ".poe-code/code-review/reviews";
        readonly doc: "Directory under .poe-code/code-review containing YAML code review state.";
    };
    readonly humanGate: {
        readonly type: "json";
        readonly default: {
            provider: "none";
        };
        readonly parse: (value: unknown) => import("../../packages/agent-code-review/dist/index.js").CodeReviewHumanGateConfig;
        readonly doc: "External human-gate configuration for code review runs.";
    };
    readonly profileDirectories: {
        readonly type: "json";
        readonly default: string[];
        readonly parse: typeof import("node_modules/agent-code-review/dist/config-scope.js").parseCodeReviewProfileDirectories;
        readonly doc: "Absolute external reviewer profile directories, in precedence order after repo-local profiles.";
    };
}>];
export declare function saveConfig(options: SaveConfigOptions): Promise<void>;
export declare function loadConfig(options: ConfigStoreOptions): Promise<string | null>;
export declare function deleteConfig(options: ConfigStoreOptions): Promise<boolean>;
