import type { WorkbookAxisMetadataSnapshot } from '@bilig/protocol';
import type { SheetRecord } from './workbook-sheet-record.js';
import type { WorkbookAxisEntryStore } from './workbook-axis-entry-store.js';
import type { WorkbookAxisMetadataRecord, WorkbookMetadataRecord } from './workbook-metadata-types.js';
export type WorkbookAxisGeometryPatch = Omit<WorkbookAxisMetadataSnapshot, 'start' | 'count' | 'size' | 'hidden' | 'filterHidden'>;
export declare class WorkbookAxisMetadataStore {
    private readonly options;
    constructor(options: {
        readonly axisEntryStore: WorkbookAxisEntryStore;
        readonly metadata: WorkbookMetadataRecord;
        readonly getSheet: (sheetName: string) => SheetRecord | undefined;
        readonly getOrCreateSheet: (sheetName: string) => SheetRecord;
    });
    setRowMetadata(sheetName: string, start: number, count: number, size: number | null, hidden: boolean | null, geometry?: WorkbookAxisGeometryPatch, filterHidden?: boolean | null): WorkbookAxisMetadataRecord | undefined;
    getRowMetadata(sheetName: string, start: number, count: number): WorkbookAxisMetadataRecord | undefined;
    listRowMetadata(sheetName: string): WorkbookAxisMetadataRecord[];
    setColumnMetadata(sheetName: string, start: number, count: number, size: number | null, hidden: boolean | null, geometry?: WorkbookAxisGeometryPatch, filterHidden?: boolean | null): WorkbookAxisMetadataRecord | undefined;
    getColumnMetadata(sheetName: string, start: number, count: number): WorkbookAxisMetadataRecord | undefined;
    listColumnMetadata(sheetName: string): WorkbookAxisMetadataRecord[];
    private setAxisMetadata;
    private getAxisMetadata;
    private listAxisMetadata;
    private metadataForAxis;
}
