import type { KeysetWithSecrets } from 'keyset/index.js'; import type { UserWithSecrets } from 'user/index.js'; import type { Action, Graph } from './types.js'; export declare const EMPTY_GRAPH: { root: undefined; head: undefined; encryptedLinks: {}; links: {}; }; type CreateGraphParams> = { /** Local user (with secret keys) that is creating the graph. */ user: UserWithSecrets; /** Unique identifier for the graph. If none is provided, a random one will be generated. */ id?: string; /** Human facing name of the graph (e.g. document name, team name, etc). This should be unique * within the application's namespace. If none is provided, the `id` will be used. */ name?: string; /** Object containing information to be added to the ROOT link. */ rootPayload?: any; /** Any additional context provided by the application. */ context?: C; /** Keyset used to encrypt & decrypt the graph. */ keys: KeysetWithSecrets; }; export declare const createGraph: >({ user, id, name, rootPayload, context, keys, }: CreateGraphParams) => Graph; export {}; //# sourceMappingURL=createGraph.d.ts.map