import type { AgentDefinition, AgentResourcePolicy, CheckpointInput, JsonSchema, JsonValue, PreflightCapabilities, PreflightResult, ShellOptions, StaticWorkflowCall, ValidatedWorkflowLaunch, WorkflowMetadata, WorkflowRoleDirectoryRegistration, WorkflowSettings, WorkflowSettingsOverrides, WorkflowSettingsResolution, WorkflowValidationContext, WorkflowValidationParameters } from "./types.js"; import type { WorkflowRegistryApi } from "./registry.js"; export declare const DEFAULT_SETTINGS: Readonly; export declare function validateCheckpoint(value: unknown): CheckpointInput; export declare function workflowSettingsPath(agentDir?: string): string; export declare function workflowProjectSettingsPath(cwd: string): string; export declare function loadSettings(path?: string): Readonly; export declare function loadSettingsOverrides(path: string): Readonly; export declare function resolveWorkflowSettings(cwd: string, projectTrusted: boolean, globalSettingsPath?: string): WorkflowSettingsResolution; export declare function validateModelAliasAvailability(aliases: Readonly>, names: readonly string[], availableModels: ReadonlySet, knownModels: ReadonlySet, settingsPath?: string): void; export declare function resolveAgentResourcePolicy(cwd: string, projectTrusted: boolean, globalSettingsPath?: string): AgentResourcePolicy; export declare function saveModelAliases(path?: string, aliases?: Readonly>): void; export declare function parseRoleMarkdown(content: string, strict?: boolean, rolePath?: string): AgentDefinition; export declare function workflowRoleDirectories(agentDir?: string): readonly string[]; export type WorkflowRoleDirectoryInput = string | WorkflowRoleDirectoryRegistration; export declare function loadAgentDefinitions(cwd: string, agentDir?: string, projectTrusted?: boolean, extensionRoleDirectories?: readonly WorkflowRoleDirectoryInput[]): Readonly>; export declare function instrumentWorkflow(script: string): string; export declare function workflowPrompt(template: string, values: Readonly>): string; export declare function validateSchema(schema: unknown, at?: string): asserts schema is JsonSchema; export declare function validateAgentOptions(value: unknown): Readonly>; export declare function validateShellOptions(value: unknown): ShellOptions; export declare function validateShellCommand(value: unknown): string; export declare function inspectWorkflowScript(script: string): StaticWorkflowCall[]; export declare function preflight(script: string, capabilities: PreflightCapabilities, schemas?: readonly unknown[], metadata?: WorkflowMetadata, compatibility?: boolean): PreflightResult; export declare function validateWorkflowLaunch(params: WorkflowValidationParameters, context: WorkflowValidationContext, registry?: WorkflowRegistryApi): ValidatedWorkflowLaunch; export declare function validateWorkflowLaunchWithRegistry(params: WorkflowValidationParameters, context: WorkflowValidationContext, registry?: WorkflowRegistryApi): ValidatedWorkflowLaunch; export { createLaunchSnapshot, loadLaunchSnapshot } from "./utils.js";