/** * Checks the parts of an entry without which it is simply unusable. * * This is the tier applied to entries arriving from a peer. Anything that can * be repaired by dropping a field is deliberately *not* checked here: * `CommandManager.processRemoteCommands` drops a failing remote command and * never retries it, so a strict check would lose the entry permanently. * @param raw - The entry to check, which may be anything at all. * @returns Null when the entry is usable, otherwise the reason it is not. */ export declare const validateEntryFatal: (raw: unknown) => string | null; /** * Checks an entry fully, matching fields included. * * This is the tier applied to entries originating on this device, where a * problem can still be shown to the user who caused it. * @param raw - The entry to check, which may be anything at all. * @returns Null when the entry is usable, otherwise the reason it is not. */ export declare const validateEntryStrict: (raw: unknown) => string | null;