import type { ExecutorLane, RuntimeWorkflow } from './artifacts.js'; export type RuntimeProfileSource = 'builtin' | 'project'; export type RuntimeProfileStatus = 'builtin' | 'adapter-candidate' | 'user-defined'; export interface RuntimeProfile { schemaVersion: 'open-scaffold.runtime-profile.v1'; id: string; displayName: string; lane: ExecutorLane; status: RuntimeProfileStatus; description: string; links?: { homepage?: string | null; docs?: string | null; }; workflows?: Partial>; defaults?: { workflow?: RuntimeWorkflow | null; harnessSkill?: string | null; operatorSurface?: string | null; }; authorityDefaults?: { sandboxPolicy?: string[]; commitPolicy?: string; pushPolicy?: string; mergePolicy?: string; approvalPolicy?: string; }; install?: { humanHint?: string; auto?: false; }; launch?: { owner?: 'external-adapter' | 'manual' | 'none'; commandTemplate?: string | null; expectedAdapterId?: string | null; spawning?: false; }; evidence?: { receiptSchema?: 'open-scaffold.dispatch-receipt.v1'; expectedPaths?: string[]; }; compatibility?: { minScaffoldSchema?: 'open-scaffold.run.v1'; }; lastReviewed?: string; notes?: string; } export interface ResolvedRuntimeProfile { profile: RuntimeProfile; source: RuntimeProfileSource; path?: string; } export declare const BUILT_IN_RUNTIME_PROFILES: RuntimeProfile[]; export declare const RESERVED_RUNTIME_PROFILE_IDS: Set; export declare function validateRuntimeProfile(value: unknown): { ok: true; profile: RuntimeProfile; } | { ok: false; errors: string[]; }; export declare function loadRuntimeProfiles(root: string): ResolvedRuntimeProfile[]; export declare function resolveRuntimeProfile(root: string, id: string): ResolvedRuntimeProfile | null;