import type { string_book } from '../../book-2.0/agent-source/string_book';
/**
 * Monaco diagnostic shape used by deprecated-commitment warnings.
 *
 * @private internal type of `BookEditorMonaco`
 */
type DeprecatedCommitmentDiagnostic = {
    readonly startLineNumber: number;
    readonly startColumn: number;
    readonly endLineNumber: number;
    readonly endColumn: number;
    readonly message: string;
    readonly source: string;
    readonly severity: 'warning';
};
/**
 * Creates Book editor diagnostics for deprecated commitment keywords.
 *
 * The deprecation metadata is UI-only. This helper surfaces it in Monaco so
 * legacy commitments remain functional while still guiding authors toward
 * preferred replacements.
 *
 * @param agentSource - Current editor content.
 * @returns Warning markers for deprecated commitment keywords.
 * @private internal utility of `BookEditorMonaco`
 */
export declare function createDeprecatedCommitmentDiagnostics(agentSource?: string_book): ReadonlyArray<DeprecatedCommitmentDiagnostic>;
export {};
