import type Entry from '../interfaces/Entry.mjs'; /** * Drops an unusable selector before it reaches strict entry validation. * @param value - The selector to check, which may be anything at all. * @returns The selector, or null when it is empty, too long, or contains CR/LF. */ export declare const sanitiseInputSelector: (value: unknown) => string | null; /** * Repairs the matching fields of an entry that may have come from somewhere * untrusted: a peer's sync command, or an imported otpauth uri. * * Total, never throws, and idempotent, so it is safe to run on every entry * entering the vault regardless of where it came from. * @param entry - The entry to sanitise. * @returns The entry, with unusable matching fields dropped. */ export declare const sanitiseEntry: (entry: Entry) => Entry; export default sanitiseEntry;