/** * Standalone "generate buyer queries for a domain" orchestrator (M15 needs it; * the CLI `queries` command is read-only). Composes discovery (M4) and query * generation (M5) - the front half of `runCheck` without the paid ask/score - * so this composition stays in `core/run` and entrypoints stay thin (rule #1). */ import { CostGuard } from '../costs.js'; import type { ProfileFs } from '../discovery/index.js'; import type { QueryFs } from '../queries/index.js'; import { type Fetcher } from '../fetcher/index.js'; import type { BrandProfile, JudgeClient, QueryPack } from '../types.js'; export interface RunGenerateQueriesDeps { fetcher?: Fetcher; judge?: JudgeClient; guard?: CostGuard; profileFs?: ProfileFs; queryFs?: QueryFs; now?: () => string; persist?: boolean; } export interface RunGenerateQueriesOptions { stateDir: string; count?: number; refresh?: boolean; } export interface RunGenerateQueriesResult { pack: QueryPack; profile: BrandProfile; path?: string; notes: string[]; costCapped?: boolean; } export declare function runGenerateQueries(domain: string, deps: RunGenerateQueriesDeps, opts: RunGenerateQueriesOptions): Promise;