/** Where c15t stores consent choices. */ export type C15tStorageMode = 'hosted' | 'offline' | 'custom'; /** Inputs for {@link createC15tSetupInstructions}. */ export interface C15tSetupInstructionsOptions { /** * Docs site the agent reads, such as `https://v3.c15t.com`. Defaults to * the site for this CLI's release line. */ origin?: string; /** * npm dist-tag the agent resolves exact versions from, such as `canary`. * Defaults to `latest`. */ distTag?: string; /** Storage mode the host already chose. Omit to have the agent ask. */ mode?: C15tStorageMode; /** * Number of the first step heading. Hosts that put their own numbered * steps first pass the next number. Steps refer to each other by name, * not number, so renumbering never breaks a reference. */ firstStep?: number; } /** Inputs for {@link createC15tIntegrationGuidance}. */ export interface C15tIntegrationGuidanceOptions { /** * Docs site the agent reads, such as `https://v3.c15t.com`. Defaults to * the site for this CLI's release line. */ origin?: string; } /** * Build the rules for moving analytics, pixels, tag managers and embeds * behind c15t consent, including the framework vendor package mapping. This * is the body of the "Move every tool behind consent" step, without a * heading, so a host can reuse it on its own. It refers to the inventory and * the site's requirement recorded there by name, never by step number. * * @param options Docs origin. * @returns Markdown guidance without a heading. * @throws {Error} When the origin is not a plain HTTP or HTTPS URL. * @example * const guidance = createC15tIntegrationGuidance({ * origin: 'https://v3.c15t.com', * }); */ export declare const createC15tIntegrationGuidance: (options?: C15tIntegrationGuidanceOptions) => string; /** * Build the c15t integration steps a coding agent follows: inventory, install * or upgrade, consent-gating every tool, browser verification and handoff. * The text covers c15t only. Hosts such as the Inth CLI or the docs site put * their own account and backend steps before it, then pass `firstStep`. * * Every docs link uses `origin`, and versions resolve from `distTag`, so the * agent reads the docs for the release it installs. The docs origin defaults * to the release line of the CLI that published this source, and the * dist-tag defaults to `latest`. * * @param options Docs origin, dist-tag, storage mode and first step number. * @returns Markdown instructions without a title. * @throws {Error} When the origin is not a plain HTTP or HTTPS URL, the * dist-tag is not a valid npm tag, the mode is unknown, or the first step is * not a positive integer. * @example * const instructions = createC15tSetupInstructions({ * origin: 'https://c15t.com', * distTag: 'canary', * mode: 'hosted', * firstStep: 4, * }); */ export declare const createC15tSetupInstructions: (options?: C15tSetupInstructionsOptions) => string;