import { type WorkDocumentIndexEntryDraft, type WorkDocumentIndexOptions } from './work-document-index'; export type WorkDocumentIndexEntryInstructionResult = { supported: true; value: WorkDocumentIndexEntryDraft; } | { supported: false; reason: 'not-index-entry' | 'invalid-instruction' | 'invalid-entry' | 'unsupported-switch'; }; export type WorkDocumentIndexInstructionResult = { supported: true; options: WorkDocumentIndexOptions; } | { supported: false; reason: 'not-index' | 'invalid-instruction' | 'invalid-columns' | 'unsupported-switch'; }; export declare function parseDocumentIndexEntryInstruction(instruction: string): WorkDocumentIndexEntryInstructionResult; export declare function documentIndexEntryInstruction(source: WorkDocumentIndexEntryDraft): string; export declare function parseDocumentIndexInstruction(instruction: string): WorkDocumentIndexInstructionResult; export declare function documentIndexInstruction(source: WorkDocumentIndexOptions): string;