import { GeneratedSchema } from './../foundations/index.js'; /** * * @remarks This is a type for database creation. * @see {@link PersonalAccessToken} for the original type. */ export type CreatePersonalAccessToken = { tenantId?: string; userId: string; /** The name of the secret. Should be unique within the user. */ name: string; value: string; createdAt?: number; expiresAt?: number | null; }; export type PersonalAccessToken = { tenantId: string; userId: string; /** The name of the secret. Should be unique within the user. */ name: string; value: string; createdAt: number; expiresAt: number | null; }; export type PersonalAccessTokenKeys = 'tenantId' | 'userId' | 'name' | 'value' | 'createdAt' | 'expiresAt'; export declare const PersonalAccessTokens: GeneratedSchema;