import { PoolClient } from '@evershop/postgres-query-builder'; import { WidgetData } from './createWidget.js'; declare const _default: (uuid: string, data: Partial, context: Record) => Promise; export default _default; export declare function hookBeforeUpdateWidgetData(callback: (this: Record, ...args: [uuid: string, data: Partial, connection: PoolClient]) => void | Promise, priority?: number): void; export declare function hookAfterUpdateWidgetData(callback: (this: Record, ...args: [uuid: string, data: Partial, connection: PoolClient]) => void | Promise, priority?: number): void; export declare function hookBeforeUpdateWidget(callback: (this: Record, ...args: [uuid: string, data: Partial, context: Record]) => void | Promise, priority?: number): void; export declare function hookAfterUpdateWidget(callback: (this: Record, ...args: [uuid: string, data: Partial, context: Record]) => void | Promise, priority?: number): void;