/** * Drops every locale a project did not select from a manifest's localized * `title` / `description` maps, preserving the rest of the document byte for * byte. Provisioning calls this so a generated project's manifest carries * only the locales it was created with. * * Lives in spec because manifest text is spec's material: it owns the YAML * dependency and the shape of a localized-text node. */ export declare class ManifestLocaleTrimError extends Error { readonly reason: "invalid_yaml" | "unsupported_locale"; constructor(reason: "invalid_yaml" | "unsupported_locale", message: string); } /** Returns the manifest text unchanged when nothing needed trimming. */ export declare function trimManifestLocales(text: string, locales: readonly string[]): string; //# sourceMappingURL=ManifestLocaleTrimmer.d.ts.map