## API Report File for "skyflow-node"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { Blob as Blob_2 } from 'buffer';
import * as fs from 'fs';

// @public (undocumented)
export interface ApiKeyCredentials {
    // (undocumented)
    apiKey: string;
}

// @public (undocumented)
export type BearerTokenOptions = {
    ctx?: string | Record<string, any>;
    roleIDs?: string[];
    roleIds?: string[];
    logLevel?: LogLevel;
    tokenUri?: string;
};

// @public (undocumented)
export class Bleep {
    // (undocumented)
    getFrequency(): number | undefined;
    // (undocumented)
    getGain(): number | undefined;
    // (undocumented)
    getStartPadding(): number | undefined;
    // (undocumented)
    getStopPadding(): number | undefined;
    // (undocumented)
    setFrequency(frequency: number): void;
    // (undocumented)
    setGain(gain: number): void;
    // (undocumented)
    setStartPadding(startPadding: number): void;
    // (undocumented)
    setStopPadding(stopPadding: number): void;
}

// @public (undocumented)
export interface ConnectionConfig {
    // (undocumented)
    connectionId: string;
    // (undocumented)
    connectionUrl: string;
    // (undocumented)
    credentials?: Credentials;
}

// @public (undocumented)
export type Credentials = TokenCredentials | PathCredentials | StringCredentials | ApiKeyCredentials;

// @public (undocumented)
export class DeidentifyFileOptions {
    constructor();
    // (undocumented)
    getAllowRegexList(): string[] | undefined;
    // (undocumented)
    getBleep(): Bleep | undefined;
    // (undocumented)
    getEntities(): string[] | undefined;
    // (undocumented)
    getMaskingMethod(): MaskingMethod | undefined;
    // (undocumented)
    getMaxResolution(): number | undefined;
    // (undocumented)
    getOutputDirectory(): string | undefined;
    // (undocumented)
    getOutputOcrText(): boolean | undefined;
    // (undocumented)
    getOutputProcessedAudio(): boolean | undefined;
    // (undocumented)
    getOutputProcessedImage(): boolean | undefined;
    // (undocumented)
    getOutputTranscription(): DetectOutputTranscription | undefined;
    // (undocumented)
    getPixelDensity(): number | undefined;
    // (undocumented)
    getRestrictRegexList(): string[] | undefined;
    // (undocumented)
    getTokenFormat(): TokenFormat | undefined;
    // (undocumented)
    getTransformations(): Transformations | undefined;
    // (undocumented)
    getWaitTime(): number | undefined;
    // (undocumented)
    setAllowRegexList(allowRegexList: string[]): void;
    // (undocumented)
    setBleep(bleep: Bleep | undefined): void;
    // (undocumented)
    setEntities(entities: DetectEntities[]): void;
    // (undocumented)
    setMaskingMethod(maskingMethod: MaskingMethod | undefined): void;
    // (undocumented)
    setMaxResolution(maxResolution: number | undefined): void;
    // (undocumented)
    setOutputDirectory(outputDirectory: string | undefined): void;
    // (undocumented)
    setOutputOcrText(outputOcrText: boolean | undefined): void;
    // (undocumented)
    setOutputProcessedAudio(outputProcessedAudio: boolean | undefined): void;
    // (undocumented)
    setOutputProcessedImage(value: boolean | undefined): void;
    // (undocumented)
    setOutputTranscription(outputTranscription: DetectOutputTranscription | undefined): void;
    // (undocumented)
    setPixelDensity(pixelDensity: number | undefined): void;
    // (undocumented)
    setRestrictRegexList(restrictRegexList: string[]): void;
    // (undocumented)
    setTokenFormat(tokenFormat: TokenFormat): void;
    // (undocumented)
    setTransformations(transformations: Transformations): void;
    // (undocumented)
    setWaitTime(waitTime: number | undefined): void;
}

// @public (undocumented)
export class DeidentifyFileRequest {
    constructor(file: FileInput);
    // (undocumented)
    getFile(): FileInput;
    // (undocumented)
    setFile(file: FileInput): void;
}

// @public (undocumented)
export class DeidentifyFileResponse {
    constructor(input: {
        fileBase64?: string;
        file?: File;
        type?: string;
        extension?: string;
        wordCount?: number;
        charCount?: number;
        sizeInKb?: number;
        durationInSeconds?: number;
        pageCount?: number;
        slideCount?: number;
        entities?: Array<{
            file: string;
            extension: string;
        }>;
        runId?: string;
        status?: string;
        errors?: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    charCount?: number;
    // (undocumented)
    durationInSeconds?: number;
    // (undocumented)
    entities?: Array<{
        file: string;
        extension: string;
    }>;
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    extension?: string;
    // (undocumented)
    file?: File;
    // (undocumented)
    fileBase64?: string;
    // (undocumented)
    pageCount?: number;
    // (undocumented)
    runId?: string;
    // (undocumented)
    sizeInKb?: number;
    // (undocumented)
    slideCount?: number;
    // (undocumented)
    status?: string;
    // (undocumented)
    type?: string;
    // (undocumented)
    wordCount?: number;
}

// @public (undocumented)
export class DeidentifyTextOptions {
    // (undocumented)
    getAllowRegexList(): string[] | undefined;
    // (undocumented)
    getEntities(): DetectEntities[] | undefined;
    // (undocumented)
    getRestrictRegexList(): string[] | undefined;
    // (undocumented)
    getTokenFormat(): TokenFormat | undefined;
    // (undocumented)
    getTransformations(): Transformations | undefined;
    // (undocumented)
    setAllowRegexList(allowRegexList: string[]): void;
    // (undocumented)
    setEntities(entities: DetectEntities[]): void;
    // (undocumented)
    setRestrictRegexList(restrictRegexList: string[]): void;
    // (undocumented)
    setTokenFormat(tokenFormat: TokenFormat): void;
    // (undocumented)
    setTransformations(transformations: Transformations): void;
}

// @public (undocumented)
export class DeidentifyTextRequest {
    constructor(text: string);
    // (undocumented)
    get text(): string;
    set text(value: string);
}

// @public (undocumented)
export class DeidentifyTextResponse {
    constructor(input: {
        processedText: string;
        entities: Array<{
            token?: string;
            value?: string;
            textIndex?: IndexRange;
            processedIndex?: IndexRange;
            entity?: string;
            scores?: Record<string, number>;
        }>;
        wordCount: number;
        charCount: number;
        errors?: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    charCount: number;
    // (undocumented)
    entities: Array<{
        token?: string;
        value?: string;
        textIndex?: IndexRange;
        processedIndex?: IndexRange;
        entity?: string;
        scores?: Record<string, number>;
    }>;
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    processedText: string;
    // (undocumented)
    wordCount: number;
}

// @public (undocumented)
export class DeleteRequest {
    constructor(table: string, deleteIds: Array<string>);
    // (undocumented)
    get ids(): Array<string>;
    set ids(value: Array<string>);
    // (undocumented)
    get table(): string;
    set table(value: string);
}

// @public (undocumented)
export class DeleteResponse {
    // @deprecated
    constructor(input: {
        deletedIds: Array<string>;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    deletedIds: Array<string>;
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
}

// @public (undocumented)
export enum DetectEntities {
    // (undocumented)
    ACCOUNT_NUMBER = "account_number",
    // (undocumented)
    AGE = "age",
    // (undocumented)
    ALL = "all",
    // (undocumented)
    BANK_ACCOUNT = "bank_account",
    // (undocumented)
    BLOOD_TYPE = "blood_type",
    // (undocumented)
    CONDITION = "condition",
    // (undocumented)
    CORPORATE_ACTION = "corporate_action",
    // (undocumented)
    CREDIT_CARD = "credit_card",
    // (undocumented)
    CREDIT_CARD_EXPIRATION = "credit_card_expiration",
    // (undocumented)
    CVV = "cvv",
    // (undocumented)
    DATE = "date",
    // (undocumented)
    DATE_INTERVAL = "date_interval",
    // (undocumented)
    DAY = "day",
    // (undocumented)
    DOB = "dob",
    // (undocumented)
    DOSE = "dose",
    // (undocumented)
    DRIVER_LICENSE = "driver_license",
    // (undocumented)
    DRUG = "drug",
    // (undocumented)
    DURATION = "duration",
    // (undocumented)
    EFFECT = "effect",
    // (undocumented)
    EMAIL_ADDRESS = "email_address",
    // (undocumented)
    EVENT = "event",
    // (undocumented)
    FILENAME = "filename",
    // (undocumented)
    FINANCIAL_METRIC = "financial_metric",
    // (undocumented)
    GENDER = "gender",
    // (undocumented)
    HEALTHCARE_NUMBER = "healthcare_number",
    // (undocumented)
    INJURY = "injury",
    // (undocumented)
    IP_ADDRESS = "ip_address",
    // (undocumented)
    LANGUAGE = "language",
    // (undocumented)
    LOCATION = "location",
    // (undocumented)
    LOCATION_ADDRESS = "location_address",
    // (undocumented)
    LOCATION_ADDRESS_STREET = "location_address_street",
    // (undocumented)
    LOCATION_CITY = "location_city",
    // (undocumented)
    LOCATION_COORDINATE = "location_coordinate",
    // (undocumented)
    LOCATION_COUNTRY = "location_country",
    // (undocumented)
    LOCATION_STATE = "location_state",
    // (undocumented)
    LOCATION_ZIP = "location_zip",
    // (undocumented)
    MARITAL_STATUS = "marital_status",
    // (undocumented)
    MEDICAL_CODE = "medical_code",
    // (undocumented)
    MEDICAL_PROCESS = "medical_process",
    // (undocumented)
    MONEY = "money",
    // (undocumented)
    MONTH = "month",
    // (undocumented)
    NAME = "name",
    // (undocumented)
    NAME_FAMILY = "name_family",
    // (undocumented)
    NAME_GIVEN = "name_given",
    // (undocumented)
    NAME_MEDICAL_PROFESSIONAL = "name_medical_professional",
    // (undocumented)
    NUMERICAL_PII = "numerical_pii",
    // (undocumented)
    OCCUPATION = "occupation",
    // (undocumented)
    ORGANIZATION = "organization",
    // (undocumented)
    ORGANIZATION_ID = "organization_id",
    // (undocumented)
    ORGANIZATION_MEDICAL_FACILITY = "organization_medical_facility",
    // (undocumented)
    ORIGIN = "origin",
    // (undocumented)
    PASSPORT_NUMBER = "passport_number",
    // (undocumented)
    PASSWORD = "password",
    // (undocumented)
    PHONE_NUMBER = "phone_number",
    // (undocumented)
    PHYSICAL_ATTRIBUTE = "physical_attribute",
    // (undocumented)
    POLITICAL_AFFILIATION = "political_affiliation",
    // (undocumented)
    PRODUCT = "product",
    // (undocumented)
    PROJECT = "project",
    // (undocumented)
    RELIGION = "religion",
    // (undocumented)
    ROUTING_NUMBER = "routing_number",
    // (undocumented)
    SEXUALITY = "sexuality",
    // (undocumented)
    SSN = "ssn",
    // (undocumented)
    STATISTICS = "statistics",
    // (undocumented)
    TIME = "time",
    // (undocumented)
    TREND = "trend",
    // (undocumented)
    URL = "url",
    // (undocumented)
    USERNAME = "username",
    // (undocumented)
    VEHICLE_ID = "vehicle_id",
    // (undocumented)
    ZODIAC_SIGN = "zodiac_sign"
}

// @public (undocumented)
export enum DetectOutputTranscription {
    // (undocumented)
    DIARIZED_TRANSCRIPTION = "diarized_transcription",
    // (undocumented)
    MEDICAL_DIARIZED_TRANSCRIPTION = "medical_diarized_transcription",
    // (undocumented)
    MEDICAL_TRANSCRIPTION = "medical_transcription",
    // (undocumented)
    PLAINTEXT_TRANSCRIPTION = "plaintext_transcription",
    // (undocumented)
    TRANSCRIPTION = "transcription"
}

// @public (undocumented)
export interface DetokenizeData {
    // (undocumented)
    redactionType?: RedactionType;
    // (undocumented)
    token: string;
}

// @public (undocumented)
export class DetokenizeOptions {
    constructor();
    // (undocumented)
    getContinueOnError(): boolean | undefined;
    // @deprecated (undocumented)
    getDownloadURL(): boolean | undefined;
    // (undocumented)
    getDownloadUrl(): boolean | undefined;
    // (undocumented)
    setContinueOnError(continueOnError: boolean): void;
    // @deprecated (undocumented)
    setDownloadURL(downloadURL: boolean): void;
    // (undocumented)
    setDownloadUrl(downloadUrl: boolean): void;
}

// @public (undocumented)
export class DetokenizeRequest {
    constructor(data: DetokenizeData[]);
    // (undocumented)
    get data(): DetokenizeData[];
    set data(value: DetokenizeData[]);
}

// @public (undocumented)
export class DetokenizeResponse {
    constructor(input: {
        detokenizedFields: Array<SuccessDetokenizeResponse> | null;
        errors: Array<SkyflowRecordError> | null;
    });
    // Warning: (ae-forgotten-export) The symbol "SuccessDetokenizeResponse" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    detokenizedFields: Array<SuccessDetokenizeResponse> | null;
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
}

// @public (undocumented)
export enum Env {
    // (undocumented)
    DEV = "DEV",
    // (undocumented)
    PROD = "PROD",
    // (undocumented)
    SANDBOX = "SANDBOX",
    // (undocumented)
    STAGE = "STAGE"
}

// Warning: (ae-forgotten-export) The symbol "Filepath" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "FileObject" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type FileInput = Filepath | FileObject;

// @public (undocumented)
export class FileUploadOptions {
    constructor();
    // (undocumented)
    getBase64(): string | undefined;
    // (undocumented)
    getFileName(): string | undefined;
    // (undocumented)
    getFileObject(): File | undefined;
    // (undocumented)
    getFilePath(): string | undefined;
    // (undocumented)
    getSkyflowId(): string | undefined;
    // (undocumented)
    setBase64(base64: string): void;
    // (undocumented)
    setFileName(fileName: string): void;
    // (undocumented)
    setFileObject(fileObject: File): void;
    // (undocumented)
    setFilePath(filePath: string): void;
    // (undocumented)
    setSkyflowId(skyflowId: string): void;
}

// @public (undocumented)
export class FileUploadRequest {
    constructor(table: string, columnNameOrSkyflowId: string, columnName?: string);
    // (undocumented)
    get columnName(): string;
    set columnName(value: string);
    // @internal (undocumented)
    getLegacySkyflowId(): string | undefined;
    // @deprecated (undocumented)
    get skyflowId(): string;
    set skyflowId(value: string);
    // (undocumented)
    get table(): string;
    set table(value: string);
}

// @public (undocumented)
export class FileUploadResponse {
    constructor(input: {
        skyflowId: string;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    skyflowId: string;
}

// Warning: (ae-forgotten-export) The symbol "TokenResponse" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function generateBearerToken(credentialsFilePath: string, options?: BearerTokenOptions): Promise<TokenResponse>;

// @public (undocumented)
export function generateBearerTokenFromCreds(credentials: any, options?: BearerTokenOptions): Promise<TokenResponse>;

// Warning: (ae-forgotten-export) The symbol "SignedDataTokensResponse" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function generateSignedDataTokens(credentialsFilePath: string, options: SignedDataTokensOptions): Promise<SignedDataTokensResponse[]>;

// @public (undocumented)
export function generateSignedDataTokensFromCreds(credentials: any, options: SignedDataTokensOptions): Promise<SignedDataTokensResponse[]>;

// @public (undocumented)
export type GenerateTokenOptions = {
    logLevel?: LogLevel;
};

// @public (undocumented)
export class GetColumnRequest {
    constructor(table: string, _columnName: string, _columnValues: Array<string>);
    // (undocumented)
    get columnName(): string;
    set columnName(value: string);
    // (undocumented)
    get columnValues(): Array<string>;
    set columnValues(value: Array<string>);
    // (undocumented)
    get table(): string;
    set table(value: string);
}

// @public (undocumented)
export class GetDetectRunRequest {
    constructor(runId: string);
    // (undocumented)
    get runId(): string;
    set runId(value: string);
}

// @public (undocumented)
export class GetOptions {
    constructor();
    // (undocumented)
    getColumnName(): string | undefined;
    // (undocumented)
    getColumnValues(): Array<string> | undefined;
    // @deprecated (undocumented)
    getDownloadURL(): boolean | undefined;
    // (undocumented)
    getDownloadUrl(): boolean | undefined;
    // (undocumented)
    getFields(): Array<string> | undefined;
    // (undocumented)
    getLimit(): string | undefined;
    // (undocumented)
    getOffset(): string | undefined;
    // (undocumented)
    getOrderBy(): OrderByEnum | undefined;
    // (undocumented)
    getRedactionType(): RedactionType | undefined;
    // (undocumented)
    getReturnTokens(): boolean | undefined;
    // (undocumented)
    setColumnName(columnName: string): void;
    // (undocumented)
    setColumnValues(columnValues: Array<string>): void;
    // @deprecated (undocumented)
    setDownloadURL(downloadURL: boolean): void;
    // (undocumented)
    setDownloadUrl(downloadUrl: boolean): void;
    // (undocumented)
    setFields(fields: Array<string>): void;
    // (undocumented)
    setLimit(limit: string): void;
    // (undocumented)
    setOffset(offset: string): void;
    // (undocumented)
    setOrderBy(orderBy: OrderByEnum): void;
    // (undocumented)
    setRedactionType(redactionType: RedactionType): void;
    // (undocumented)
    setReturnTokens(returnTokens: boolean): void;
}

// @public (undocumented)
export class GetRequest {
    constructor(table: string, _ids: Array<string>);
    // (undocumented)
    get ids(): Array<string>;
    set ids(value: Array<string>);
    // (undocumented)
    get table(): string;
    set table(value: string);
}

// @public (undocumented)
export class GetResponse {
    constructor(input: {
        data: Array<GetResponseData>;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    data: Array<GetResponseData>;
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
}

// @public (undocumented)
export interface GetResponseData {
    // (undocumented)
    [key: string]: unknown;
}

// @public (undocumented)
export interface IndexRange {
    // (undocumented)
    end?: number;
    // (undocumented)
    start?: number;
}

// @public (undocumented)
export class InsertOptions {
    constructor();
    // (undocumented)
    getContinueOnError(): boolean | undefined;
    // (undocumented)
    getHomogeneous(): boolean | undefined;
    // (undocumented)
    getReturnTokens(): boolean | undefined;
    // (undocumented)
    getTokenMode(): TokenMode | undefined;
    // (undocumented)
    getTokens(): Array<Record<string, unknown>> | undefined;
    // (undocumented)
    getUpsertColumn(): string | undefined;
    // (undocumented)
    setContinueOnError(continueOnError: boolean): void;
    // (undocumented)
    setHomogeneous(homogeneous: boolean): void;
    // (undocumented)
    setReturnTokens(returnTokens: boolean): void;
    // (undocumented)
    setTokenMode(tokenMode: TokenMode): void;
    // (undocumented)
    setTokens(tokens: Array<Record<string, unknown>>): void;
    // (undocumented)
    setUpsertColumn(upsert: string): void;
}

// @public (undocumented)
export class InsertRequest {
    constructor(table: string, data: Record<string, unknown>[]);
    // (undocumented)
    get data(): Record<string, unknown>[];
    set data(data: Record<string, unknown>[]);
    // (undocumented)
    get table(): string;
    set table(value: string);
}

// @public (undocumented)
export class InsertResponse {
    // @deprecated
    constructor(input: {
        insertedFields: Array<InsertResponseType>;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    insertedFields: Array<InsertResponseType>;
}

// @public (undocumented)
export interface InsertResponseType {
    // (undocumented)
    [key: string]: unknown;
    // @deprecated (undocumented)
    skyflow_id?: string;
    // (undocumented)
    skyflowId: string;
}

// @public (undocumented)
export class InvokeConnectionRequest {
    constructor(method: RequestMethod, body?: StringKeyValueMapType, headers?: StringKeyValueMapType, pathParams?: StringKeyValueMapType, queryParams?: StringKeyValueMapType);
    // (undocumented)
    body?: StringKeyValueMapType;
    // (undocumented)
    headers?: StringKeyValueMapType;
    // (undocumented)
    method: RequestMethod;
    // (undocumented)
    pathParams?: StringKeyValueMapType;
    // (undocumented)
    queryParams?: StringKeyValueMapType;
}

// @public (undocumented)
export class InvokeConnectionResponse {
    constructor(input: {
        data?: object;
        metadata?: Record<string, unknown>;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    data?: Object;
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    metadata?: Record<string, unknown>;
}

// @public (undocumented)
export function isExpired(token: string): boolean;

// @public (undocumented)
export enum LogLevel {
    // (undocumented)
    DEBUG = "DEBUG",
    // (undocumented)
    ERROR = "ERROR",
    // (undocumented)
    INFO = "INFO",
    // (undocumented)
    OFF = "OFF",
    // (undocumented)
    WARN = "WARN"
}

// @public (undocumented)
export enum MaskingMethod {
    // (undocumented)
    Blackbox = "blackbox",
    // (undocumented)
    Blur = "blur"
}

// @public (undocumented)
export enum OrderByEnum {
    // (undocumented)
    ASCENDING = "ASCENDING",
    // (undocumented)
    DESCENDING = "DESCENDING",
    // (undocumented)
    NONE = "NONE"
}

// @public (undocumented)
export interface PathCredentials {
    // (undocumented)
    context?: string | Record<string, any>;
    // (undocumented)
    path: string;
    // (undocumented)
    roles?: Array<string>;
    // (undocumented)
    tokenUri?: string;
}

// @public (undocumented)
export class QueryRequest {
    constructor(query: string);
    // (undocumented)
    get query(): string;
    set query(value: string);
}

// @public (undocumented)
export class QueryResponse {
    constructor(input: {
        fields: Array<QueryResponseType>;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    fields: Array<QueryResponseType>;
}

// @public (undocumented)
export interface QueryResponseType {
    // (undocumented)
    [key: string]: unknown;
}

// @public (undocumented)
export enum RedactionType {
    // (undocumented)
    DEFAULT = "DEFAULT",
    // (undocumented)
    MASKED = "MASKED",
    // (undocumented)
    PLAIN_TEXT = "PLAIN_TEXT",
    // (undocumented)
    REDACTED = "REDACTED"
}

// @public (undocumented)
export class ReidentifyTextOptions {
    // (undocumented)
    getMaskedEntities(): DetectEntities[] | undefined;
    // (undocumented)
    getPlainTextEntities(): DetectEntities[] | undefined;
    // (undocumented)
    getRedactedEntities(): DetectEntities[] | undefined;
    // (undocumented)
    setMaskedEntities(maskedEntities: DetectEntities[]): void;
    // (undocumented)
    setPlainTextEntities(plainTextEntities: DetectEntities[]): void;
    // (undocumented)
    setRedactedEntities(redactedEntities: DetectEntities[]): void;
}

// @public (undocumented)
export class ReidentifyTextRequest {
    constructor(text: string);
    // (undocumented)
    get text(): string;
    set text(value: string);
}

// @public (undocumented)
export class ReidentifyTextResponse {
    constructor(input: {
        processedText: string;
    });
    // (undocumented)
    processedText: string;
}

// @public (undocumented)
export enum RequestMethod {
    // (undocumented)
    GET = "GET",
    // (undocumented)
    PATCH = "PATCH",
    // (undocumented)
    POST = "POST",
    // (undocumented)
    PUT = "PUT"
}

// @public (undocumented)
export type SignedDataTokensOptions = {
    dataTokens: string[];
    timeToLive?: number;
    ctx?: string | Record<string, any>;
    logLevel?: LogLevel;
    tokenUri?: string;
};

// @public (undocumented)
export class Skyflow {
    constructor(config: SkyflowConfig);
    // (undocumented)
    addConnectionConfig(config: ConnectionConfig): void;
    // (undocumented)
    addVaultConfig(config: VaultConfig): void;
    // Warning: (ae-forgotten-export) The symbol "ConnectionController" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    connection(connectionId?: string): ConnectionController;
    // Warning: (ae-forgotten-export) The symbol "DetectController" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    detect(vaultId?: string): DetectController;
    // (undocumented)
    getConnectionConfig(connectionId: string): ConnectionConfig | VaultConfig;
    // (undocumented)
    getLogLevel(): LogLevel;
    // (undocumented)
    getSkyflowCredentials(): Credentials | undefined;
    // (undocumented)
    getVaultConfig(vaultId: string): ConnectionConfig | VaultConfig;
    // (undocumented)
    removeConnectionConfig(connectionId: string): void;
    // (undocumented)
    removeVaultConfig(vaultId: string): void;
    // (undocumented)
    setLogLevel(logLevel: LogLevel): void;
    // (undocumented)
    updateConnectionConfig(config: ConnectionConfig): void;
    // (undocumented)
    updateLogLevel(logLevel: LogLevel): Skyflow;
    // (undocumented)
    updateSkyflowCredentials(credentials: Credentials): void;
    // (undocumented)
    updateVaultConfig(config: VaultConfig): void;
    // Warning: (ae-forgotten-export) The symbol "VaultController" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    vault(vaultId?: string): VaultController;
}

// @public (undocumented)
export interface SkyflowConfig {
    // (undocumented)
    connectionConfigs?: ConnectionConfig[];
    // (undocumented)
    logLevel?: LogLevel;
    // (undocumented)
    skyflowCredentials?: Credentials;
    // (undocumented)
    vaultConfigs?: VaultConfig[];
}

// @public (undocumented)
export class SkyflowError extends Error {
    constructor(errorCode: ISkyflowError, args?: Array<string | number>);
    // Warning: (ae-forgotten-export) The symbol "ISkyflowError" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    error?: ISkyflowError;
}

// @public (undocumented)
export interface SkyflowRecordError {
    // (undocumented)
    error: string;
    // (undocumented)
    httpCode?: string | number | null;
    // @deprecated (undocumented)
    request_ID?: string | null;
    // (undocumented)
    requestId: string | null;
    // (undocumented)
    requestIndex?: number | null;
    // (undocumented)
    token?: string | null;
}

// @public (undocumented)
export interface StringCredentials {
    // (undocumented)
    context?: string | Record<string, any>;
    // (undocumented)
    credentialsString: string;
    // (undocumented)
    roles?: Array<string>;
    // (undocumented)
    tokenUri?: string;
}

// @public (undocumented)
export interface StringKeyValueMapType {
    // (undocumented)
    [key: string]: object | string;
}

// @public (undocumented)
export interface TokenCredentials {
    // (undocumented)
    token: string;
}

// @public (undocumented)
export class TokenFormat {
    // (undocumented)
    getDefault(): string | undefined;
    // (undocumented)
    getEntityOnly(): string[] | undefined;
    // (undocumented)
    getEntityUniqueCounter(): string[] | undefined;
    // (undocumented)
    getVaultToken(): string[] | undefined;
    // (undocumented)
    setDefault(defaultToken: TokenType): void;
    // (undocumented)
    setEntityOnly(entityOnly: DetectEntities[]): void;
    // (undocumented)
    setEntityUniqueCounter(entityUniqueCounter: DetectEntities[]): void;
    // (undocumented)
    setVaultToken(vaultToken: DetectEntities[]): void;
}

// @public (undocumented)
export class TokenizeRequest {
    constructor(values: Array<TokenizeRequestType>);
    // (undocumented)
    get values(): Array<TokenizeRequestType>;
    set values(value: Array<TokenizeRequestType>);
}

// @public (undocumented)
export interface TokenizeRequestType {
    // (undocumented)
    columnGroup: string;
    // (undocumented)
    value: string;
}

// @public (undocumented)
export class TokenizeResponse {
    constructor(input: {
        tokens: Array<string>;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    tokens: Array<string>;
}

// @public (undocumented)
export enum TokenMode {
    // (undocumented)
    DISABLE = "DISABLE",
    // (undocumented)
    ENABLE = "ENABLE",
    // (undocumented)
    ENABLE_STRICT = "ENABLE_STRICT"
}

// @public (undocumented)
export enum TokenType {
    // (undocumented)
    ENTITY_ONLY = "entity_only",
    // (undocumented)
    ENTITY_UNIQUE_COUNTER = "entity_unq_counter",
    // (undocumented)
    VAULT_TOKEN = "vault_token"
}

// @public (undocumented)
export class Transformations {
    // (undocumented)
    getShiftDays(): {
        max: number;
        min: number;
        entities: DetectEntities[];
    } | undefined;
    // (undocumented)
    setShiftDays(shiftDays: {
        max: number;
        min: number;
        entities: DetectEntities[];
    }): void;
}

// @public (undocumented)
export class UpdateOptions {
    constructor();
    // (undocumented)
    getReturnTokens(): boolean | undefined;
    // (undocumented)
    getTokenMode(): TokenMode | undefined;
    // (undocumented)
    getTokens(): Record<string, unknown> | undefined;
    // (undocumented)
    setReturnTokens(returnTokens: boolean): void;
    // (undocumented)
    setTokenMode(tokenMode: TokenMode): void;
    // (undocumented)
    setTokens(tokens: Record<string, unknown>): void;
}

// @public (undocumented)
export class UpdateRequest {
    constructor(table: string, data: Record<string, unknown>);
    // (undocumented)
    get data(): Record<string, unknown>;
    set data(value: Record<string, unknown>);
    // (undocumented)
    get table(): string;
    set table(value: string);
}

// @public (undocumented)
export class UpdateResponse {
    constructor(input: {
        updatedField: InsertResponseType;
        errors: Array<SkyflowRecordError> | null;
    });
    // (undocumented)
    errors: Array<SkyflowRecordError> | null;
    // (undocumented)
    updatedField: InsertResponseType;
}

// @public (undocumented)
export interface VaultConfig {
    // (undocumented)
    clusterId: string;
    // (undocumented)
    credentials?: Credentials;
    // (undocumented)
    env?: Env;
    // (undocumented)
    vaultId: string;
}

// (No @packageDocumentation comment for this package)

```
