import type { Maxcryptor, UserDoc } from "@raytio/maxcryptor"; import type { AA, AId } from "@raytio/types"; export type ServerAA = Omit & { id: AId; }; /** * Creates an Access Application and associated public+private keys. * * The user must be part of an organization, and you need to include the `orgId`. * * You must also supply an apiToken and an instance of the maxcryptor for that user, * as well as the `userDoc` data which is stored in the user's cognito attributes. */ export declare function createAA({ apiUrl, apiToken, userDoc, maxcryptor, application, }: { apiUrl: string; apiToken: string; application: Omit; userDoc: UserDoc; maxcryptor: Maxcryptor; }): Promise;