import type { PassContent } from '../content'; /** * The identity of the certificate a pass is signed with. * * Both values live in the Pass Type ID certificate and both must appear in * `pass.json` — a pass whose `teamIdentifier` disagrees with its signature is * refused by the device with no explanation. They are read from the certificate * rather than configured separately, so the two cannot drift apart. */ export interface PassIdentity { passTypeIdentifier: string; teamIdentifier: string; } /** The shape written to `pass.json`. Loose on purpose: it is a serialisation, not an API. */ export type PassJson = Record; /** * `PassContent` rendered as the `pass.json` Apple reads. * * Deterministic: the same content and the same identity produce byte-identical * output, with no clock and no random in it. That is not tidiness — the manifest * hashes this file, so a second build of unchanged content has to produce the * same bytes or every rebuild looks to the device like a change. */ export declare function buildPassJson(content: PassContent, identity: PassIdentity): PassJson; /** * `pass.strings` for one locale. * * The format is a sequence of `"key" = "value";` lines, and the escaping is the * part worth having in one place: an unescaped quotation mark in a business name * — `Joe's "Best" Coffee` — ends the string early and takes the rest of the file * with it. */ export declare function buildPassStrings(entries: Record): string; //# sourceMappingURL=pass-json.d.ts.map