import { EntityId, IsoDatetime } from '../Foundations';
export declare type ApiKeyRecord = {
    id: EntityId;
    status: ApiKeyStatus;
    externalId?: string;
    orgId: EntityId;
    dateCreated: IsoDatetime;
    name?: string;
    authorId: EntityId;
    scopes: string[];
};
export declare type ApiKeyRecordWithToken = {
    id: EntityId;
    status: ApiKeyStatus;
    externalId?: string;
    orgId: EntityId;
    dateCreated: IsoDatetime;
    name?: string;
    authorId: EntityId;
    scopes: string[];
    token: ApiKeyValue;
};
export declare type ApiKeyValue = string;
export declare type CreateApiKeyInput = {
    scopes: string[];
    externalId?: string;
    name: string;
};
export declare enum ApiKeyStatus {
    Active = "Active",
    Archived = "Archived"
}
