@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
10 lines (9 loc) • 368 B
TypeScript
import type { TODO_any } from '../organization/TODO_any';
/**
* Creates a debounced function that runs after calls have been quiet for the given delay.
*
* @public exported from `@promptbook/utils`
*/
export declare function debounce<T extends (...args: TODO_any[]) => void>(fn: T, delay: number): ((...args: Parameters<T>) => void) & {
cancel: () => void;
};