import type { PublicEnvelope, PublicEnvelopeText, ResolvedPublicEnvelopeSchema } from './types.js'; /** Owner-supplied input — the subset of {@link PublicEnvelope} the owner can set. */ export interface SetPublicEnvelopeInput { readonly name?: PublicEnvelopeText; readonly description?: PublicEnvelopeText; readonly icon?: string; readonly defaultLocale?: string; } /** * Validate an owner-supplied envelope input against the developer's * resolved schema. Throws `ValidationError` on the first violation; * returns void on success. * * The validator is deliberately strict: every fail mode is a hard * error rather than a silent drop, so the owner finds out immediately * which field they oversized rather than discovering a truncated * label months later. */ export declare function validatePublicEnvelopeInput(input: SetPublicEnvelopeInput, schema: ResolvedPublicEnvelopeSchema): void; /** * Lightweight runtime predicate — used by the bundle header * validator to recognise a public envelope without requiring it. */ export declare function isPublicEnvelope(x: unknown): x is PublicEnvelope;