import type { Research } from "./companyResearch.js"; export type CompanyAnswers = { domain: string | undefined; sellsTo: string | undefined; }; /** Where the answers land, relative to the project root. */ export declare const COMPANY_CONTEXT_PATH = "context/global/company.md"; /** * What a handoff brief says about the company answers, when there were any. * * Lives here rather than in each brief because both of them say it — an agent * that reopens the conversation the wizard just finished is the failure this * prevents, and wording that only half the paths carry is worse than none. */ export declare function companyContextLines(companyContextPath: string | undefined): string[]; /** Whether `existing` is the shipped placeholder rather than real content. */ export declare function isPlaceholder(existing: string): boolean; /** * Whether the project at `root` carries a company brief somebody wrote. * * One predicate, read from both sides: `init` asks it to decide whether the * file is safe to overwrite, and a handoff asks it to decide whether there is * anything worth pointing an agent at. The shipped ACME placeholder is "no" to * both — it is safe to replace, and pointing an agent at it is worse than * silence, since it reads as though the company is already described. */ export declare function hasCompanyContext(root: string): boolean; /** The two questions, asked only where there is someone to answer them. */ export declare function askCompanyContext(): Promise; /** * The file itself. Labelled as a seed on purpose: two lines typed into a * terminal plus one research call are a starting point for the agent to * interview the user properly, and a context file claiming more authority than * it has is worse than no file. * * Exported for tests; `writeCompanyContext` is the only production caller. */ export declare function companyMarkdown(answers: CompanyAnswers, research: Research | undefined): string | undefined; //# sourceMappingURL=companyContext.d.ts.map