import type { KeyPair, SomeKey } from "../../typings/key-types"; export declare const isValidKey: (candidate: string) => candidate is SomeKey; export declare const isTypeOfKey: (type: T, candidate: SomeKey) => candidate is T extends "private" ? `private$${string}` : T extends "public" ? `public$${string}` : unknown; export declare const isValidKeyPair: (pair?: KeyPair) => pair is KeyPair;