import type { NotificationAuthMethods, NotificationAuthType } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export type WebhookFormProps = {
    url: string;
    name: string;
    description: string;
    "auth-method": NotificationAuthMethods;
    "auth-info-key"?: string;
    "auth-info-value"?: string;
    "auth-username"?: string;
    "auth-password"?: string;
    "fe-form-type": NotificationAuthType;
};
export declare const handleFieldError: (e: any) => void;
export declare const WebhookForm: ({ onSubmit, onCancel, onDelete, initialValues, submitLabel, }: {
    onSubmit: (props: WebhookFormProps) => void;
    onCancel: () => void;
    onDelete?: () => void;
    initialValues: WebhookFormProps;
    submitLabel?: string;
}) => import("react/jsx-runtime").JSX.Element;
