import { ImportBundle, Update, DsnpGraphEdge, Action, DsnpPublicKey, DsnpKeys, Config } from "./models";
import { EnvironmentInterface } from "./models/environment";
export declare class Graph {
    private handle;
    constructor(environment: EnvironmentInterface, capacity?: number);
    getGraphHandle(): number;
    getGraphConfig(environment: EnvironmentInterface): Promise<Config>;
    getGraphCapacity(): Promise<number>;
    getGraphSize(): Promise<number>;
    containsUserGraph(dsnpUserId: number): Promise<boolean>;
    getGraphUsersCount(): Promise<number>;
    removeUserGraph(dsnpUserId: number): Promise<void>;
    importUserData(payload: [ImportBundle]): Promise<void>;
    exportUpdates(): Promise<Update>;
    getConnectionsForUserGraphUpdates(dsnpUserId: number, schemaId: string, includePending: boolean): Promise<[DsnpGraphEdge]>;
    applyActions(actions: [Action]): Promise<void>;
    forceCalculateGraphs(dsnpUserId: number): Promise<Update>;
    getConnectionsWithoutKeys(): Promise<[number]>;
    getOneSidedPrivateFriendshipConnections(dsnpUserId: number): Promise<[DsnpGraphEdge]>;
    getPublicKeys(dsnpUserId: number): Promise<[DsnpPublicKey]>;
    deserializeDsnpKeys(keys: DsnpKeys): Promise<[DsnpPublicKey]>;
    private registerFinalizer;
    freeGraphState(): Promise<void>;
    printHelloGraph(): void;
}
//# sourceMappingURL=graph.d.ts.map