import * as Lib from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib";
import type { HelpText } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/expressions/types";
import type Metadata from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/metadata/Metadata";
export type Suggestion = {
    type: string;
    name: string;
    text: string;
    alternates?: string[];
    index: number;
    icon: string | null | undefined;
    order: number;
    range?: [number, number];
    column?: Lib.ColumnMetadata;
    helpText?: HelpText;
    group?: GroupName;
};
export declare const GROUPS: {
    readonly popularExpressions: {
        readonly displayName: string;
    };
    readonly popularAggregations: {
        readonly displayName: string;
    };
    readonly shortcuts: {
        readonly displayName: string;
    };
};
export type GroupName = keyof typeof GROUPS;
export type SuggestArgs = {
    source: string;
    query: Lib.Query;
    stageIndex: number;
    metadata: Metadata;
    reportTimezone?: string;
    startRule: string;
    targetOffset?: number;
    expressionIndex: number | undefined;
    getColumnIcon: (column: Lib.ColumnMetadata) => string;
};
export declare function suggest({ source, query, stageIndex, getColumnIcon, metadata, reportTimezone, startRule, expressionIndex, targetOffset, }: SuggestArgs): {
    helpText?: HelpText;
    suggestions?: Suggestion[];
};
