import { NativeArray } from "../imports/NativeArray"; import { GlideScriptableInputStream } from "../types/GlideScriptableInputStream"; import { ExternalContentAisIngestionResponse } from "./ExternalContentAisIngestionResponse"; import { ExternalContentAisUserPrincipalImportResponse } from "./ExternalContentAisUserPrincipalImportResponse"; export declare class SearchExternalContentIngestionApi { constructor(); deleteByQuery(tableName?: string, query?: string): string; flushAllIdleBuffers(): void; flushIngestion(batcherID?: string): string; getMaxFileSize(): number; getSupportedFileExtensions(): NativeArray; importUserPrincipalStream( tableName?: string, userPrincipalImports?: GlideScriptableInputStream ): ExternalContentAisUserPrincipalImportResponse; importUserPrincipals( tableName?: string, userPrincipalImports?: Array ): ExternalContentAisUserPrincipalImportResponse; ingestDocument( tableName?: string, externalDocumentId?: string, metadata?: Record, contentPointer?: string, batcherID?: string ): boolean; ingestDocumentStream( tableName?: string, documents?: GlideScriptableInputStream ): ExternalContentAisIngestionResponse; ingestDocumentWithPrincipal( tableName?: string, externalDocumentId?: string, metadata?: Record, contentPointer?: string, batcherID?: string, principals?: Record ): boolean; ingestDocuments( tableName?: string, documents?: Array ): ExternalContentAisIngestionResponse; initBatcher(size?: number): string; isAISAvailableForIngestion(): boolean; purgeAllDocuments(tableName?: string): string; purgeAllUserPrincipals(tableName?: string): void; releaseBatcher(batcherID?: string): void; removeDocument(tableName?: string, externalDocumentId?: string): boolean; removeUserPrincipal(tableName?: string, userPrincipalId?: string): void; storeContent(stream?: GlideScriptableInputStream): string; updateByQuery( tableName?: string, query?: string, metadata?: Record ): string; }