import { Extension, type Editor } from '@tiptap/core'; export declare const DEFAULT_DOCUMENT_TAB_INTERVAL_PX = 48; export declare const DOCUMENT_TAB_RULER_STEP_PX = 6; export declare const MAX_DOCUMENT_TAB_POSITION_PX = 4096; export declare const MAX_DOCUMENT_TAB_STOPS = 64; export type DocumentTabAlignment = 'left' | 'center' | 'right' | 'decimal'; export type DocumentTabLeader = 'none' | 'dot' | 'hyphen' | 'underscore' | 'middleDot'; export interface DocumentTabStop { position: number; alignment: DocumentTabAlignment; leader: DocumentTabLeader; } export interface DocumentTabStopCommandOptions { restoreFocus?: boolean; } declare module '@tiptap/core' { interface Commands { documentParagraphTabStops: { setDocumentParagraphTabStops: (tabStops: readonly DocumentTabStop[], options?: DocumentTabStopCommandOptions) => ReturnType; }; } } export declare const DocumentParagraphTabStops: Extension; export declare function documentParagraphTabStops(editor: Editor): DocumentTabStop[]; export declare function setDocumentParagraphTabStops(editor: Editor, tabStops: readonly DocumentTabStop[], options?: DocumentTabStopCommandOptions): boolean; export declare function normalizeDocumentTabStops(value: unknown): DocumentTabStop[]; export declare function serializeDocumentTabStops(value: readonly DocumentTabStop[]): string; export declare function normalizedTabPosition(value: number): number; export declare function nextDocumentTabAlignment(alignment: DocumentTabAlignment): DocumentTabAlignment;