import type { SecretReferenceLike } from "./secrets-ui.js"; import { type OpenGeniText } from "./messages/runtime.js"; export type SecretReferenceLabel = { /** The part that truncates: the item name (or "Secret" for an ID reference). */ primary: string; /** The field, one-time code and previous markers; never truncated. */ suffix: string; }; /** * "GitHub · password": the last path segments (the vault, when named, stays in * the tooltip); an ID reference reads "Secret · field"; `/otp` adds * "· one-time code" and `#previous` adds "(previous)". */ export declare function secretReferenceLabel(t: OpenGeniText, reference: SecretReferenceLike): SecretReferenceLabel; export declare function secretReferenceLabelText(t: OpenGeniText, reference: SecretReferenceLike): string;