import { type SgProvisionOptions, type SgResolverOptions } from "@oh-my-opencode/utils"; export interface AstGrepSgProvisionEventInput { readonly event: { readonly type: string; }; } export interface AstGrepSgProvisionDeps { readonly arch?: string; readonly findSgBinary: (options: SgResolverOptions) => string | null; readonly homeDir: () => string; readonly log: (message: string, data?: Record) => void; readonly platform?: NodeJS.Platform; readonly provisionSgBinary: (options: SgProvisionOptions) => Promise; readonly schedule: (task: () => Promise) => void; } export declare function clearAstGrepSgProvisionTargetsForTesting(): void; export declare function createAstGrepSgProvisionHook(depsOverride?: Partial): { event(input: AstGrepSgProvisionEventInput): void; };