import * as Lib from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib";
import type { TemporalUnit } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { ColumnType } from "./types";
export declare const getOffsetPeriod: (query: Lib.Query, stageIndex: number) => string;
export declare const getTitle: (query: Lib.Query, stageIndex: number, aggregation?: Lib.AggregationClause | Lib.ExpressionClause) => string;
export declare const getAggregations: (query: Lib.Query, stageIndex: number, aggregation: Lib.AggregationClause | Lib.ExpressionClause, columns: ColumnType[], offset: number, includeCurrentPeriod: boolean) => Lib.ExpressionClause[];
type BreakoutColumnAndBucket = {
    breakoutIndex: number | null;
    column: Lib.ColumnMetadata;
    bucket: TemporalUnit | null;
};
export declare function getBreakout(query: Lib.Query, stageIndex: number): BreakoutColumnAndBucket;
export declare const canSubmit: (period: number | "", columns: ColumnType[]) => boolean;
type UpdatedQuery = {
    query: Lib.Query;
    addedAggregations: Lib.ExpressionClause[];
};
export declare function updateQueryWithCompareOffsetAggregations(query: Lib.Query, stageIndex: number, aggregation: Lib.AggregationClause | Lib.ExpressionClause, offset: "" | number, columns: ColumnType[], matchedBreakout: BreakoutColumnAndBucket, bucket: TemporalUnit | null, includeCurrentPeriod: boolean): UpdatedQuery | null;
export declare function canAddTemporalCompareAggregation(query: Lib.Query, stageIndex: number): boolean;
export {};
