//#region src/utils/api-keys.d.ts /** * An api key has the following format: * _ * * The scanner and marker is a base32 character that is used to determine if the api key is a public or private key * and if it is a cloud or self-hosted key. * * The checksum is a crc32 checksum of the api key encoded in hex. * */ type ProjectApiKey = { id: string; prefix: string; isPublic: boolean; isCloudVersion: boolean; secret: string; checksum: string; type: "user" | "team"; }; declare function isApiKey(secret: string): boolean; declare function createProjectApiKey(options: Pick): string; declare function parseProjectApiKey(secret: string): ProjectApiKey; //#endregion export { createProjectApiKey, isApiKey, parseProjectApiKey }; //# sourceMappingURL=api-keys.d.ts.map