import type { FieldReference } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { Clause, ColumnMetadata, FieldValuesSearchInfo, MetricMetadata, Query, SegmentMetadata } from "./types";
export declare function fields(query: Query, stageIndex: number): Clause[];
export declare function withFields(query: Query, stageIndex: number, newFields: ColumnMetadata[]): Query;
export declare function addField(query: Query, stageIndex: number, newField: ColumnMetadata): Query;
export declare function removeField(query: Query, stageIndex: number, targetField: ColumnMetadata): Query;
export declare function fieldableColumns(query: Query, stageIndex: number): ColumnMetadata[];
export declare function fieldValuesSearchInfo(query: Query, column: ColumnMetadata): FieldValuesSearchInfo;
export declare function legacyRef(query: Query, stageIndex: number, column: ColumnMetadata | MetricMetadata | SegmentMetadata): FieldReference;
