import { type EMPTY_GRAPH } from './createGraph.js';
import type { Action, Graph } from './types.js';
import type { KeysetWithSecrets } from 'keyset/index.js';
import type { UserWithSecrets } from 'user/index.js';
export declare const append: ({ graph, action, user, context, keys, }: Params) => Graph;
type Params = {
/** The graph to append a link to. */
graph: Graph | typeof EMPTY_GRAPH;
/** The action (type & payload) being added to the graph. */
action: A;
/** User object for the author of this link. */
user: UserWithSecrets;
/** Any additional context provided by the application. */
context?: C;
/** Keyset used to encrypt & decrypt the link. */
keys: KeysetWithSecrets;
};
export {};
//# sourceMappingURL=append.d.ts.map