export declare const BEGIN_MARKER = ""; export declare const END_MARKER = ""; type ManagedBlockState = 'absent' | 'balanced'; export interface ManagedBlockResult { content: string; action: 'created' | 'updated' | 'unchanged'; state: ManagedBlockState; } export interface ManagedBlockRemovalResult { content: string | undefined; action: 'absent' | 'updated' | 'deleted'; } export declare function upsertManagedBlock(existing: string, managedBlock: string): ManagedBlockResult; /** * Remove only the exact marked region. Bytes outside the markers are owned by * the user and are never normalized or trimmed. A file is deletable only when * the managed block occupied the entire file. */ export declare function removeManagedBlock(existing: string): ManagedBlockRemovalResult; /** Return the canonical template declaration from one validated managed block. */ export declare function readManagedBlockTemplateVersion(existing: string): number | undefined; export {}; //# sourceMappingURL=managed-block.d.ts.map