import type { ApiContext } from "./context.js"; import type { Paginated } from "./http/pagination.js"; export interface ListHooksParams { project?: string; repository: string; limit?: number; start?: number; } export interface ConfigureHookParams { project?: string; repository: string; hookKey?: string; settings?: Record; } export declare function hooksApi(ctx: ApiContext): { list({ project, repository, limit, start, }: ListHooksParams): Promise>>; configure({ project, repository, hookKey, settings, }: ConfigureHookParams): Promise; }; export type HooksApi = ReturnType;