import type { Lyra, PropertiesSchema } from "../types/index.js"; export interface AfterInsertHook { (this: Lyra, id: string): Promise | void; } export type Hooks = { afterInsert?: AfterInsertHook | AfterInsertHook[]; }; export declare function validateHooks(hooks?: Hooks): void | never; export declare function hookRunner(this: Lyra, funcs: Function | Function[], ...args: unknown[]): Promise;