/** * Translation Glyph * * The per-prop localization affordance in a field's label row: a glyph that * opens the prop's translation settings and states which setting the prop * carries — a globe where it holds its default, a lock where the canonical page * shares it across languages, a pencil where a translation owns it. It takes the * row's shared box and reveal. * * Which setting the popover carries follows the open document: a translation * owns the authority of its props, and the canonical page owns the * translatability decision every language shares. */ import React from 'react'; import type { PropTarget } from '../prop-target.js'; export interface TranslationGlyphProps { target: PropTarget; /** The field's label, named in the glyph's tooltip. */ label: string; readOnly?: boolean; } export declare function TranslationGlyph(props: TranslationGlyphProps): React.ReactElement | null; /** * The glyph for whichever prop the surrounding field addresses. A label rendered * outside a localizable field — a nested subfield's among them — marks nothing. */ export declare function FieldTranslationGlyph({ label, readOnly, }: { label: string; readOnly?: boolean; }): React.ReactElement | null;