import type { ICustomColumnGroup } from '@univerjs-pro/docs-column';
import type { ColumnLayoutType, ColumnResponsiveType } from '@univerjs/core';
export interface IDocsColumnFindQuery {
    /** Matches a specific column group id stored in `documentData.body.columnGroups`. */
    columnGroupId?: string;
    /** Matches plain text contained by any column in the group. */
    text?: string;
}
export interface IDocsColumnInsertFacadeOptions {
    /** Custom id for the inserted column group. A random id is generated when omitted. */
    columnGroupId?: string;
    /** Custom ids for the inserted columns. Missing ids are generated by the insert helper. */
    columnIds?: string[];
    /** Horizontal gap between columns, in points (pt). Invalid values fall back to the default gap. */
    gap?: number;
    /** Data-stream offset where the column group should be inserted. Defaults to before the final section break. */
    offset?: number;
    /** Initial width ratios for the inserted columns. The array length must match the final column count. */
    widthRatios?: number[];
}
export interface IDocsColumnContentRange {
    startOffset: number;
    endOffset: number;
    segmentId: string;
}
export interface IDocsColumnDescription {
    columnCount: number;
    columnGroupId: string;
    columns: Array<{
        columnId: string;
        index: number;
        text: string;
        widthRatio?: number;
    }>;
    /** Horizontal gap between columns, in points (pt). */
    gap?: number;
    layout?: ColumnLayoutType;
    responsive?: ColumnResponsiveType;
    config?: ICustomColumnGroup;
}
