import { z } from 'zod'; import type { ThreekitAuthProps } from '../../ThreekitAuthProps.js'; import { Route } from '../Route.js'; declare enum PermissionType { Public = "public", Private = "private" } export declare const AccessToken: z.ZodObject; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; orgId: z.ZodString; name: z.ZodString; domains: z.ZodArray; permissions: z.ZodNativeEnum; lastUsedOn: z.ZodOptional; serviceAccountId: z.ZodString; }>, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; id: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; lastUsedOn?: string | undefined; }, { orgId: string; createdAt: string; id: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; lastUsedOn?: string | undefined; }>; export type Accesstoken = z.infer; export declare const AccessTokenListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { accesstokens: z.ZodArray; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; orgId: z.ZodString; name: z.ZodString; domains: z.ZodArray; permissions: z.ZodNativeEnum; lastUsedOn: z.ZodOptional; serviceAccountId: z.ZodString; }>, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; id: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; lastUsedOn?: string | undefined; }, { orgId: string; createdAt: string; id: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; lastUsedOn?: string | undefined; }>, "many">; }>, "strip", z.ZodTypeAny, { accesstokens: { orgId: string; createdAt: string; id: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; lastUsedOn?: string | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { accesstokens: { orgId: string; createdAt: string; id: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; lastUsedOn?: string | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type AccesstokenListing = z.infer; export declare const CreateAccessTokenProps: z.ZodObject; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; orgId: z.ZodString; name: z.ZodString; domains: z.ZodArray; permissions: z.ZodNativeEnum; lastUsedOn: z.ZodOptional; serviceAccountId: z.ZodString; }>, "orgId" | "name" | "domains" | "permissions" | "serviceAccountId">, "strip", z.ZodTypeAny, { orgId: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; }, { orgId: string; name: string; domains: string[]; permissions: PermissionType; serviceAccountId: string; }>; export type CreateAccesstokenProps = z.infer; export type QueryAccessTokenProps = { serviceAccountId?: string; }; export declare class AccessTokens extends Route { constructor(auth: ThreekitAuthProps); healthcheck(): Promise>; get(queryProps: QueryAccessTokenProps): Promise>; getById(tokenId: string): Promise>; validateToken(origin: string, token: string): Promise; static validateDomain(domain: string, domainOrPattern: string): boolean; } export {};