import type { ResourceKind } from "../../core.js"; import { type GeneratedSource } from "./print.js"; export type GeneratedResourceFile = GeneratedSource; /** * Map one live row to its `define*` source with `config` omitted entirely. * * Not merely secrets-pruned: the deploy executor exempts an UNDECLARED config * from the clear-on-undeclared rule precisely because it holds credentials, but * a config declared with the non-secret leftovers (`method: "oauth"`) is written * — over the token the browser just stored. Omitting the key is what keeps the * credential safe. * * Returns undefined when the mapper declines the row — the same contract `pull` * honours when it counts a resource as skipped. Throws for a kind `cdk pull` * cannot generate at all, which is a programmer error rather than a runtime one. */ export declare function generateResourceFile(kind: ResourceKind, row: object): GeneratedResourceFile | undefined; //# sourceMappingURL=single.d.ts.map