import type { SecretTextTokenLike } from "../secrets-ui.js"; type HastText = { type: "text"; value: string; position?: unknown; }; type HastElement = { type: "element"; tagName: string; properties?: Record; children: HastChild[]; }; type HastChild = HastText | HastElement | { type: string; children?: HastChild[]; }; type HastParent = { children?: HastChild[]; }; export declare function rehypeSecretRefs(options: { tokenize: (text: string) => SecretTextTokenLike[]; }): (tree: HastParent) => void; export {};