import type Database from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/metadata/Database";
export interface HelpText {
    name: string;
    args?: HelpTextArg[];
    description: string;
    example: string;
    structure: string;
    docsPage?: string;
}
export interface HelpTextConfig {
    name: string;
    args?: HelpTextArg[];
    description: (database: Database, reportTimezone?: string) => string;
    structure: string;
    docsPage?: string;
}
interface HelpTextArg {
    name: string;
    description: string;
    example: string;
}
type MBQLClauseFunctionReturnType = "aggregation" | "any" | "boolean" | "datetime" | "expression" | "number" | "string";
export type MBQLClauseFunctionConfig = {
    displayName: string;
    type: MBQLClauseFunctionReturnType;
    args: string[];
    requiresFeature?: string;
    hasOptions?: boolean;
    multiple?: boolean;
    tokenName?: string;
    name?: string;
    validator?: (...args: any) => string | undefined;
};
export type MBQLClauseMap = Record<string, MBQLClauseFunctionConfig>;
export type ErrorWithMessage = {
    message: string;
    pos?: number | null;
    len?: number | null;
};
export {};
