import type { AgentPresetsLike } from './preset-resolution.js'; export type PresetDocumentResult = { readonly kind: 'available'; readonly id: string; readonly trust: 'system' | 'user'; readonly path: string | undefined; readonly content: string; } | { readonly kind: 'unavailable'; readonly reason: string; }; export type PresetMutationResult = { readonly ok: true; } | { readonly ok: false; readonly reason: string; }; /** Read a roster-resolved composition without bypassing preset ownership. */ export declare function readPresetComposition(presets: AgentPresetsLike | undefined, presetId: string): Promise; /** Copy through the official authoring seam; composition text never crosses it. */ export declare function copyPresetComposition(presets: AgentPresetsLike | undefined, from: string, presetId: string): Promise; /** Remove through the roster so system/default/read-only protections stay upstream-owned. */ export declare function removePresetComposition(presets: AgentPresetsLike | undefined, presetId: string): Promise; //# sourceMappingURL=preset-management.d.ts.map