import { Action, Config, ConnectionType, DsnpGraphEdge, DsnpKeys, DsnpPublicKey, EnvironmentInterface, GraphKeyPair, GraphKeyType, ImportBundle, PrivacyType, Update } from "./models";
export interface Native {
    printHelloGraph(): void;
    initializeGraphState(environment: EnvironmentInterface): number;
    getGraphConfig(environment: EnvironmentInterface): Promise<Config>;
    getSchemaIdFromConfig(environment: EnvironmentInterface, connectionType: ConnectionType, privacyType: PrivacyType): Promise<number>;
    getGraphStatesCount(): Promise<number>;
    getGraphUsersCount(handle: number): Promise<number>;
    containsUserGraph(handle: number, dsnpUserId: string): Promise<boolean>;
    removeUserGraph(handle: number, dsnpUserId: string): 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: string, schemaId: number, includePending: boolean): Promise<DsnpGraphEdge[]>;
    forceCalculateGraphs(handle: number, dsnpUserId: string): Promise<Update[]>;
    getConnectionsWithoutKeys(handle: number): Promise<string[]>;
    getOneSidedPrivateFriendshipConnections(handle: number, dsnpUserId: string): Promise<DsnpGraphEdge[]>;
    getPublicKeys(handle: number, dsnpUserId: string): Promise<DsnpPublicKey[]>;
    deserializeDsnpKeys(keys: DsnpKeys): Promise<DsnpPublicKey[]>;
    generateKeyPair(keyType: GraphKeyType): Promise<GraphKeyPair>;
    freeGraphState(handle: number): Promise<boolean>;
}
export declare const graphsdkModule: Native;
export * from "./models";
export * from "./graph";
export * from "./import-bundle-builder";
//# sourceMappingURL=index.d.ts.map