export type GriddoAlertRegisterProps = { /** Public API URL which can be obtained from useSite() */ publicApiUrl: string; /** Error type: E: error, W: warning, I: info */ level: "E" | "W" | "I"; /** Generic area related to the alert for later grouping in queries */ area?: string; /** Detailed error message. */ description: string; /** An object where you can include all the error details you find convenient. */ fullData?: Record; /** * Indicates whether we want to send an immediate SNS notification. * If false, it will only be saved in the database log. If true, an SNS * notification is also sent. * The default value will be true if the alert level (level) is E * (Error) and false in all other cases. */ instantNotification?: boolean; }; export declare function griddoAlertRegister({ area, description, fullData, instantNotification, level, publicApiUrl, }: GriddoAlertRegisterProps): Promise;