import { FWorkbook } from '@univerjs/sheets/facade';
import { FSheetPivotChart } from './f-pivot-chart';
/** @ignore */
export interface IFWorkbookPivotChartMixin {
    /**
     * Returns a PivotChart in this workbook by its stable identifier.
     *
     * @param {string} pivotChartId The identifier returned by `FSheetPivotChart.getId()`.
     * @returns {FSheetPivotChart | null} A live facade, or `null` if it is absent from this workbook.
     * @example
     * ```ts
     * import '@univerjs-pro/sheets-pivot-chart/facade';
     *
     * const fWorkbook = univerAPI.getActiveWorkbook();
     * const fPivotChart = fWorkbook.getPivotChartById('pivot-chart-1');
     * console.log(fPivotChart?.getInfo());
     * ```
     */
    getPivotChartById(pivotChartId: string): FSheetPivotChart | null;
}
/** @ignore */
export declare class FWorkbookPivotChartMixin extends FWorkbook implements IFWorkbookPivotChartMixin {
    getPivotChartById(pivotChartId: string): FSheetPivotChart | null;
}
declare module '@univerjs/sheets/facade' {
    interface FWorkbook extends IFWorkbookPivotChartMixin {
    }
}
