import type { LoadExtensionsResult, ProjectTrustContext } from "./extensions/types.ts"; import type { DefaultProjectTrust } from "./settings-manager.ts"; import { type ProjectTrustStore } from "./trust-manager.ts"; export type AppMode = "interactive" | "print" | "json" | "rpc"; export interface ResolveProjectTrustedOptions { cwd: string; trustStore: ProjectTrustStore; trustOverride?: boolean; defaultProjectTrust?: DefaultProjectTrust; extensionsResult?: LoadExtensionsResult; projectTrustContext: ProjectTrustContext; promptMessage?: string; onExtensionError?: (message: string) => void; } /** * The prompt shown for a `-e` extension source outside the project. * * Named through `APP_TITLE` for the same reason as the project-folder prompt * above: branding is configurable, so a hardcoded product name lies in a * rebranded distribution. The `.atomic/.pi` directory names stay literal — * they are the two compatibility paths the resource loader reads from that * source, not a product name. */ export declare function formatBorrowedExtensionSourceTrustPrompt(source: string): string; export declare function resolveProjectTrusted(options: ResolveProjectTrustedOptions): Promise; //# sourceMappingURL=project-trust.d.ts.map