import { type Action, type EncryptedLink, type Graph, type Link, type MaybePartlyDecryptedGraph } from './types.js';
import { type Keyring, type KeysetWithSecrets } from 'keyset/index.js';
/**
* Decrypts a single link of a graph, given the graph keys at the time the link was authored.
*/
export declare const decryptLink: (encryptedLink: EncryptedLink, keys: Keyring | KeysetWithSecrets | KeysetWithSecrets[]) => Link;
/**
* Decrypts a graph using a one or more keys.
*/
export declare const decryptGraph: DecryptFn;
export type DecryptFnParams = {
encryptedGraph: MaybePartlyDecryptedGraph;
keys: KeysetWithSecrets | KeysetWithSecrets[] | Keyring;
};
export type DecryptFn = ({ encryptedGraph, keys, }: DecryptFnParams) => Graph;
//# sourceMappingURL=decrypt.d.ts.map