import type { ActionDashboardCard, ActionFormSettings, BaseDashboardCard, Card, FieldSettings, FieldSettingsMap, InputSettingType, Parameter, VirtualCard, WritebackAction, WritebackActionBase, WritebackParameter } from "../../metabase-types/api";
import type { ActionFormProps, FieldSettings as LocalFieldSettings } from "./types";
export declare const inputTypeHasOptions: (inputType: InputSettingType) => boolean;
export declare const sortActionParams: (formSettings: ActionFormSettings) => (a: Parameter, b: Parameter) => number;
export declare const getDefaultFormSettings: (overrides?: Partial<ActionFormSettings>) => ActionFormSettings;
export declare const getSuccessMessage: (action: WritebackAction) => string;
export declare const getDefaultFieldSettings: (overrides?: Partial<LocalFieldSettings>) => FieldSettings;
export declare function isSavedAction(action?: Partial<WritebackActionBase>): action is WritebackAction;
export declare function isActionDashCard(dashCard: BaseDashboardCard): dashCard is ActionDashboardCard;
export declare const isActionCard: (card?: Card | VirtualCard) => boolean;
export declare const getFormTitle: (action: WritebackAction) => string;
export declare function getActionExecutionMessage(action: WritebackAction, result: any): string;
export declare function getActionErrorMessage(error: unknown): string;
export declare const getForm: (parameters: WritebackParameter[] | Parameter[], fieldSettings?: Record<string, FieldSettings>) => ActionFormProps;
export declare const getFormValidationSchema: (parameters: WritebackParameter[] | Parameter[], fieldSettings?: FieldSettingsMap) => import("yup/lib/object").OptionalObjectSchema<any, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<any>>;
export declare const getSubmitButtonColor: (action: WritebackAction) => string;
export declare const getSubmitButtonLabel: (action: WritebackAction) => string;
export declare const isActionPublic: (action: Partial<WritebackAction>) => boolean;
export declare const isImplicitDeleteAction: (action: WritebackAction) => boolean;
export declare const isImplicitUpdateAction: (action: WritebackAction) => boolean;
