import { z } from "zod"; import { type ArtifactSource } from "./helpers.js"; import { type ValidationResult } from "./schemas.js"; export declare const RUNTIME_PROFILE_REL_PATH = "agent-state/ACE_WORKFLOW.md"; export declare const RUNTIME_PROFILE_SCHEMA_REL_PATH = "agent-state/MODULES/schemas/ACE_RUNTIME_PROFILE.schema.json"; export declare const RUNTIME_PROFILE_SCHEMA_NAME = "ace-runtime-profile@1.0.0"; export declare const DEFAULT_RUNTIME_TOOL_REGISTRY_REL_PATH = "agent-state/runtime-tool-specs.json"; export declare const DEFAULT_EXECUTOR_MAX_TURNS = 6; export declare const DEFAULT_EXECUTOR_TURN_TIMEOUT_MS = 300000; export declare const DEFAULT_VERICIFY_BRIDGE_REL_PATH = "agent-state/vericify/ace-bridge.json"; export declare const DEFAULT_VERICIFY_PROCESS_POST_LOG_REL_PATH = "agent-state/vericify/process-posts.json"; declare const runtimeProfileSchema: z.ZodObject<{ ace_runtime_version: z.ZodLiteral<"1.0.0">; runtime: z.ZodObject<{ mode: z.ZodEnum<{ interactive: "interactive"; unattended: "unattended"; }>; profile_name: z.ZodString; }, z.core.$strict>; workspace: z.ZodObject<{ root: z.ZodString; retention: z.ZodEnum<{ delete: "delete"; archive: "archive"; }>; hooks: z.ZodObject<{ after_create: z.ZodNullable; before_run: z.ZodNullable; after_run: z.ZodNullable; before_remove: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; executor: z.ZodObject<{ command: z.ZodNullable; approval_policy: z.ZodUnion>]>; thread_sandbox: z.ZodString; turn_sandbox_policy: z.ZodNullable>>; max_turns: z.ZodDefault>; turn_timeout_ms: z.ZodDefault>; }, z.core.$strict>; tools: z.ZodDefault>; }, z.core.$strict>>>; autonomy: z.ZodDefault>; recall_context: z.ZodDefault>; state_sources: z.ZodDefault>>; before_run_checks: z.ZodDefault>>; stop_checks: z.ZodDefault>>; review_mode: z.ZodDefault>>; }, z.core.$strict>>>; continuity: z.ZodDefault>; source_paths: z.ZodDefault>>; max_sources: z.ZodDefault>; max_excerpt_chars: z.ZodDefault>; max_total_chars: z.ZodDefault>; max_status_events: z.ZodDefault>; max_run_ledger_entries: z.ZodDefault>; include_snapshot: z.ZodDefault>; }, z.core.$strict>>>; tracker: z.ZodObject<{ kind: z.ZodEnum<{ memory: "memory"; none: "none"; external: "external"; }>; config: z.ZodObject<{}, z.core.$catchall>; }, z.core.$strict>; observability: z.ZodObject<{ http_enabled: z.ZodBoolean; http_port: z.ZodNullable; vericify_bridge: z.ZodDefault>; bridge_path: z.ZodDefault>; process_post_path: z.ZodDefault>; }, z.core.$strict>>>; }, z.core.$strict>; }, z.core.$strict>; export type RuntimeProfile = z.infer; export interface RuntimeProfileSignature { mtime_ms: number; size: number; content_sha256: string; } export interface RuntimeProfileSnapshot { path: string; source: ArtifactSource; profile: RuntimeProfile; prompt_template: string; signature: RuntimeProfileSignature; } export type RuntimeProfileResult = (RuntimeProfileSnapshot & { ok: true; schema: typeof RUNTIME_PROFILE_SCHEMA_NAME; cache_hit: boolean; }) | { ok: false; schema: typeof RUNTIME_PROFILE_SCHEMA_NAME; path: string; source: ArtifactSource; errors: string[]; cache_hit: boolean; signature?: RuntimeProfileSignature; }; export declare function validateRuntimeProfileContent(raw: string): ValidationResult; export declare function loadRuntimeProfile(explicitPath?: string): RuntimeProfileResult; export declare function readRuntimeProfile(): RuntimeProfile; export declare function readRuntimePromptTemplate(): string; export declare function readRuntimeProfileState(): RuntimeProfileSnapshot; export declare function renderRuntimePrompt(templateContext: Record): string; export declare function getRuntimeProfilePath(): string; export declare function getRuntimeProfileSchemaPath(): string; export {}; //# sourceMappingURL=runtime-profile.d.ts.map