/** * Prop Authority Resolution * * A prop on a translation is either inherited from the canonical page * ('canonical') or owned by the translation ('locale'). That answer comes from * three places, in precedence order: the prop's own override, the default its * slot's template declares, and a site-wide fallback. The server resolves the * same chain when it judges a write, so a client that stops at the override map * shows an authority the server disagrees with. */ import type { AuthorityOverridesResult, PropAuthority } from '@pantheon-systems/css-client'; /** * The authority a slot's props take when no override names them. */ export declare function slotAuthority(result: AuthorityOverridesResult | null, slotId: string): PropAuthority; /** * The effective authority of a single prop. */ export declare function resolveAuthority(result: AuthorityOverridesResult | null, slotId: string, propName: string): PropAuthority; /** * Whether moving a prop to `target` needs an override stored, or is reached by * dropping the one it has. Storing an override that repeats the slot default * would survive a later change to that default and silently pin the prop. */ export declare function needsOverride(result: AuthorityOverridesResult | null, slotId: string, target: PropAuthority): boolean;