import { Action, Config, ConnectionType, DsnpGraphEdge, DsnpKeys, DsnpPublicKey, EnvironmentInterface, ImportBundle, PrivacyType, Update } from "./models";
export interface Native {
    printHelloGraph(): void;
    initializeGraphState(environment: EnvironmentInterface): number;
    initializeGraphStateWithCapacity(environment: EnvironmentInterface, capacity: number): number;
    getGraphConfig(environment: EnvironmentInterface): Promise<Config>;
    getSchemaIdFromConfig(environment: EnvironmentInterface, connectionType: ConnectionType, privacyType: PrivacyType): Promise<number>;
    getGraphCapacity(handle: number): Promise<number>;
    getGraphStatesCount(): Promise<number>;
    getGraphUsersCount(handle: number): Promise<number>;
    containsUserGraph(handle: number, dsnpUserId: number): Promise<boolean>;
    removeUserGraph(handle: number, dsnpUserId: number): Promise<boolean>;
    importUserData(handle: number, payload: ImportBundle[]): Promise<boolean>;
    applyActions(handle: number, actions: Action[]): Promise<boolean>;
    exportUpdates(handle: number): Promise<Update[]>;
    getConnectionsForUserGraph(handle: number, dsnpUserId: number, schemaId: number, includePending: boolean): Promise<DsnpGraphEdge[]>;
    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<boolean>;
}
export declare const graphsdkModule: Native;
//# sourceMappingURL=index.d.ts.map