import { Extension } from '@tiptap/core';
import type { PageSize } from './page-sizes.js';
export interface DocumentPaginationOptions {
    enabled: boolean;
    pageHeight: number;
    pageWidth: number;
    marginTop: number;
    marginBottom: number;
    marginLeft: number;
    marginRight: number;
    pageGap: number;
    pageGapClass: string;
    pageGapBorderColor: string;
}
declare module '@tiptap/core' {
    interface Commands<ReturnType> {
        DocumentPagination: {
            updatePageSize: (size: PageSize) => ReturnType;
            updatePageHeight: (height: number) => ReturnType;
            updatePageWidth: (width: number) => ReturnType;
            updatePageGap: (gap: number) => ReturnType;
            updateMargins: (margins: {
                top: number;
                bottom: number;
                left: number;
                right: number;
            }) => ReturnType;
            togglePagination: () => ReturnType;
            enablePagination: () => ReturnType;
            disablePagination: () => ReturnType;
        };
    }
    interface Storage {
        DocumentPagination: DocumentPaginationOptions;
    }
}
export declare const DocumentPagination: Extension<DocumentPaginationOptions, DocumentPaginationOptions>;
