/** * A hook that provides a debounced update function which is also registered * with the global flush mechanism to ensure updates are saved before unload/save. * * @param id Unique identifier for the flush function * @param callback The function to execute (must be stable or wrapped in useCallback) * @param delay Debounce delay in milliseconds * @returns A trigger function that initiates the debounced update */ export declare function useDebouncedFlush(id: string, callback: (args: T) => void, delay?: number): (args: T) => void;