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