export interface CreateIndexCommandInput {
    Name: string;
    Edition?: 'DEVELOPER_EDITION' | 'ENTERPRISE_EDITION';
    RoleArn: string;
    ServerSideEncryptionConfiguration?: {
        KmsKeyId?: string;
    };
    Description?: string;
    ClientToken?: string;
    Tags?: Array<{
        Key: string;
        Value: string;
    }>;
    UserTokenConfigurations?: Array<{
        JwtTokenTypeConfiguration?: {
            KeyLocation: 'URL' | 'SECRET_MANAGER';
            URL?: string;
            SecretManagerArn?: string;
            UserNameAttributeField?: string;
            GroupAttributeField?: string;
            Issuer?: string;
            ClaimRegex?: string;
        };
        JsonTokenTypeConfiguration?: {
            UserNameAttributeField: string;
            GroupAttributeField: string;
        };
    }>;
    UserContextPolicy?: 'ATTRIBUTE_FILTER' | 'USER_TOKEN';
    UserGroupResolutionConfiguration?: {
        UserGroupResolutionMode: 'AWS_SSO' | 'NONE';
    };
}
export interface CreateIndexCommandOutput {
    Id?: string;
}
export interface DescribeIndexCommandInput {
    Id: string;
}
export interface Index {
    Name?: string;
    Id?: string;
    Edition?: 'DEVELOPER_EDITION' | 'ENTERPRISE_EDITION';
    RoleArn?: string;
    ServerSideEncryptionConfiguration?: {
        KmsKeyId?: string;
    };
    Status?: 'CREATING' | 'ACTIVE' | 'DELETING' | 'FAILED' | 'UPDATING' | 'SYSTEM_UPDATING';
    Description?: string;
    CreatedAt?: string;
    UpdatedAt?: string;
    DocumentMetadataConfigurations?: Array<{
        Name?: string;
        Type?: 'STRING_VALUE' | 'STRING_LIST_VALUE' | 'LONG_VALUE' | 'DATE_VALUE';
        Relevance?: {
            Freshness?: boolean;
            Importance?: number;
            Duration?: string;
            RankOrder?: 'ASCENDING' | 'DESCENDING';
            ValueImportanceMap?: Record<string, number>;
        };
        Search?: {
            Facetable?: boolean;
            Searchable?: boolean;
            Displayable?: boolean;
            Sortable?: boolean;
        };
    }>;
    IndexStatistics?: {
        FaqStatistics?: {
            IndexedQuestionAnswersCount?: number;
        };
        TextDocumentStatistics?: {
            IndexedTextDocumentsCount?: number;
            IndexedTextBytes?: number;
        };
    };
    ErrorMessage?: string;
    CapacityUnits?: {
        StorageCapacityUnits: number;
        QueryCapacityUnits: number;
    };
    UserTokenConfigurations?: Array<{
        JwtTokenTypeConfiguration?: {
            KeyLocation?: string;
            URL?: string;
            SecretManagerArn?: string;
            UserNameAttributeField?: string;
            GroupAttributeField?: string;
            Issuer?: string;
            ClaimRegex?: string;
        };
        JsonTokenTypeConfiguration?: {
            UserNameAttributeField?: string;
            GroupAttributeField?: string;
        };
    }>;
    UserContextPolicy?: 'ATTRIBUTE_FILTER' | 'USER_TOKEN';
    UserGroupResolutionConfiguration?: {
        UserGroupResolutionMode?: 'AWS_SSO' | 'NONE';
    };
}
export interface DescribeIndexCommandOutput {
    Name?: string;
    Id?: string;
    Edition?: 'DEVELOPER_EDITION' | 'ENTERPRISE_EDITION';
    RoleArn?: string;
    ServerSideEncryptionConfiguration?: {
        KmsKeyId?: string;
    };
    Status?: 'CREATING' | 'ACTIVE' | 'DELETING' | 'FAILED' | 'UPDATING' | 'SYSTEM_UPDATING';
    Description?: string;
    CreatedAt?: string;
    UpdatedAt?: string;
    DocumentMetadataConfigurations?: Index['DocumentMetadataConfigurations'];
    IndexStatistics?: Index['IndexStatistics'];
    ErrorMessage?: string;
    CapacityUnits?: Index['CapacityUnits'];
}
export interface ListIndicesCommandInput {
    NextToken?: string;
    MaxResults?: number;
}
export interface IndexSummary {
    Name?: string;
    Id?: string;
    Edition?: 'DEVELOPER_EDITION' | 'ENTERPRISE_EDITION';
    CreatedAt?: string;
    UpdatedAt?: string;
    Status?: 'CREATING' | 'ACTIVE' | 'DELETING' | 'FAILED' | 'UPDATING' | 'SYSTEM_UPDATING';
}
export interface ListIndicesCommandOutput {
    IndexConfigurationSummaryItems?: IndexSummary[];
    NextToken?: string;
}
export interface DeleteIndexCommandInput {
    Id: string;
}
export interface DeleteIndexCommandOutput {
}
export interface CreateDataSourceCommandInput {
    Name: string;
    IndexId: string;
    Type: 'S3' | 'SHAREPOINT' | 'DATABASE' | 'SALESFORCE' | 'ONEDRIVE' | 'SERVICENOW' | 'CUSTOM' | 'CONFLUENCE' | 'GOOGLEDRIVE' | 'WEBCRAWLER' | 'WORKDOCS' | 'FSX' | 'SLACK' | 'BOX' | 'QUIP' | 'JIRA' | 'GITHUB' | 'ALFRESCO' | 'TEMPLATE';
    Configuration?: {
        S3Configuration?: {
            BucketName: string;
            InclusionPrefixes?: string[];
            InclusionPatterns?: string[];
            ExclusionPatterns?: string[];
            DocumentsMetadataConfiguration?: {
                S3Prefix?: string;
            };
            AccessControlListConfiguration?: {
                KeyPath?: string;
            };
        };
        WebCrawlerConfiguration?: {
            Urls: {
                SeedUrlConfiguration?: {
                    SeedUrls: string[];
                    WebCrawlerMode?: 'HOST_ONLY' | 'SUBDOMAINS' | 'EVERYTHING';
                };
                SiteMapsConfiguration?: {
                    SiteMaps: string[];
                };
            };
            CrawlDepth?: number;
            MaxLinksPerPage?: number;
            MaxContentSizePerPageInMegaBytes?: number;
            MaxUrlsPerMinuteCrawlRate?: number;
            UrlInclusionPatterns?: string[];
            UrlExclusionPatterns?: string[];
            ProxyConfiguration?: {
                Host: string;
                Port: number;
                Credentials?: string;
            };
            AuthenticationConfiguration?: {
                BasicAuthentication?: Array<{
                    Host: string;
                    Port: number;
                    Credentials: string;
                }>;
            };
        };
        ConfluenceConfiguration?: {
            ServerUrl: string;
            SecretArn: string;
            Version: 'CLOUD' | 'SERVER';
            SpaceConfiguration?: {
                CrawlPersonalSpaces?: boolean;
                CrawlArchivedSpaces?: boolean;
                IncludeSpaces?: string[];
                ExcludeSpaces?: string[];
                SpaceFieldMappings?: Array<{
                    DataSourceFieldName?: string;
                    DateFieldFormat?: string;
                    IndexFieldName?: string;
                }>;
            };
            PageConfiguration?: {
                PageFieldMappings?: Array<{
                    DataSourceFieldName?: string;
                    DateFieldFormat?: string;
                    IndexFieldName?: string;
                }>;
            };
            BlogConfiguration?: {
                BlogFieldMappings?: Array<{
                    DataSourceFieldName?: string;
                    DateFieldFormat?: string;
                    IndexFieldName?: string;
                }>;
            };
            AttachmentConfiguration?: {
                CrawlAttachments?: boolean;
                AttachmentFieldMappings?: Array<{
                    DataSourceFieldName?: string;
                    DateFieldFormat?: string;
                    IndexFieldName?: string;
                }>;
            };
            VpcConfiguration?: {
                SubnetIds: string[];
                SecurityGroupIds: string[];
            };
            InclusionPatterns?: string[];
            ExclusionPatterns?: string[];
            ProxyConfiguration?: {
                Host: string;
                Port: number;
                Credentials?: string;
            };
            AuthenticationType?: 'HTTP_BASIC' | 'PAT';
        };
    };
    VpcConfiguration?: {
        SubnetIds: string[];
        SecurityGroupIds: string[];
    };
    Description?: string;
    Schedule?: string;
    RoleArn?: string;
    Tags?: Array<{
        Key: string;
        Value: string;
    }>;
    ClientToken?: string;
    LanguageCode?: string;
    CustomDocumentEnrichmentConfiguration?: {
        InlineConfigurations?: Array<{
            Condition?: {
                ConditionDocumentAttributeKey: string;
                Operator: 'GreaterThan' | 'GreaterThanOrEquals' | 'LessThan' | 'LessThanOrEquals' | 'Equals' | 'NotEquals' | 'Contains' | 'NotContains' | 'Exists' | 'NotExists' | 'BeginsWith';
                ConditionOnValue?: {
                    StringValue?: string;
                    StringListValue?: string[];
                    LongValue?: number;
                    DateValue?: string;
                };
            };
            Target?: {
                TargetDocumentAttributeKey?: string;
                TargetDocumentAttributeValueDeletion?: boolean;
                TargetDocumentAttributeValue?: {
                    StringValue?: string;
                    StringListValue?: string[];
                    LongValue?: number;
                    DateValue?: string;
                };
            };
            DocumentContentDeletion?: boolean;
        }>;
        PreExtractionHookConfiguration?: {
            InvocationCondition?: {
                ConditionDocumentAttributeKey: string;
                Operator: string;
                ConditionOnValue?: {
                    StringValue?: string;
                    StringListValue?: string[];
                    LongValue?: number;
                    DateValue?: string;
                };
            };
            LambdaArn: string;
            S3Bucket: string;
        };
        PostExtractionHookConfiguration?: {
            InvocationCondition?: {
                ConditionDocumentAttributeKey: string;
                Operator: string;
                ConditionOnValue?: {
                    StringValue?: string;
                    StringListValue?: string[];
                    LongValue?: number;
                    DateValue?: string;
                };
            };
            LambdaArn: string;
            S3Bucket: string;
        };
        RoleArn?: string;
    };
}
export interface CreateDataSourceCommandOutput {
    Id?: string;
}
export interface DescribeDataSourceCommandInput {
    Id: string;
    IndexId: string;
}
export interface DataSource {
    Id?: string;
    IndexId?: string;
    Name?: string;
    Type?: string;
    Configuration?: Record<string, unknown>;
    VpcConfiguration?: {
        SubnetIds?: string[];
        SecurityGroupIds?: string[];
    };
    CreatedAt?: string;
    UpdatedAt?: string;
    Description?: string;
    Status?: 'CREATING' | 'DELETING' | 'FAILED' | 'UPDATING' | 'ACTIVE';
    Schedule?: string;
    RoleArn?: string;
    ErrorMessage?: string;
    LanguageCode?: string;
    CustomDocumentEnrichmentConfiguration?: Record<string, unknown>;
}
export interface DescribeDataSourceCommandOutput extends DataSource {
}
export interface ListDataSourcesCommandInput {
    IndexId: string;
    NextToken?: string;
    MaxResults?: number;
}
export interface DataSourceSummary {
    Name?: string;
    Id?: string;
    Type?: string;
    CreatedAt?: string;
    UpdatedAt?: string;
    Status?: 'CREATING' | 'DELETING' | 'FAILED' | 'UPDATING' | 'ACTIVE';
    LanguageCode?: string;
}
export interface ListDataSourcesCommandOutput {
    SummaryItems?: DataSourceSummary[];
    NextToken?: string;
}
export interface StartDataSourceSyncJobCommandInput {
    Id: string;
    IndexId: string;
}
export interface StartDataSourceSyncJobCommandOutput {
    ExecutionId?: string;
}
export interface StopDataSourceSyncJobCommandInput {
    Id: string;
    IndexId: string;
}
export interface StopDataSourceSyncJobCommandOutput {
}
export interface QueryCommandInput {
    IndexId: string;
    QueryText?: string;
    AttributeFilter?: {
        AndAllFilters?: QueryCommandInput['AttributeFilter'][];
        OrAllFilters?: QueryCommandInput['AttributeFilter'][];
        NotFilter?: QueryCommandInput['AttributeFilter'];
        EqualsTo?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        ContainsAll?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        ContainsAny?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        GreaterThan?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        GreaterThanOrEquals?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        LessThan?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        LessThanOrEquals?: {
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
    };
    Facets?: Array<{
        DocumentAttributeKey?: string;
        Facets?: QueryCommandInput['Facets'];
        MaxResults?: number;
    }>;
    RequestedDocumentAttributes?: string[];
    QueryResultTypeFilter?: 'DOCUMENT' | 'QUESTION_ANSWER' | 'ANSWER';
    DocumentRelevanceOverrideConfigurations?: Array<{
        Name: string;
        Relevance: {
            Freshness?: boolean;
            Importance?: number;
            Duration?: string;
            RankOrder?: 'ASCENDING' | 'DESCENDING';
            ValueImportanceMap?: Record<string, number>;
        };
    }>;
    PageNumber?: number;
    PageSize?: number;
    SortingConfiguration?: {
        DocumentAttributeKey: string;
        SortOrder: 'DESC' | 'ASC';
    };
    SortingConfigurations?: Array<{
        DocumentAttributeKey: string;
        SortOrder: 'DESC' | 'ASC';
    }>;
    UserContext?: {
        Token?: string;
        UserId?: string;
        Groups?: string[];
        DataSourceGroups?: Array<{
            GroupId: string;
            DataSourceId: string;
        }>;
    };
    VisitorId?: string;
    SpellCorrectionConfiguration?: {
        IncludeQuerySpellCheckSuggestions: boolean;
    };
    CollapseConfiguration?: {
        DocumentAttributeKey: string;
        SortingConfigurations?: Array<{
            DocumentAttributeKey: string;
            SortOrder: 'DESC' | 'ASC';
        }>;
        MissingAttributeKeyStrategy?: 'IGNORE' | 'COLLAPSE' | 'EXPAND';
        Expand?: boolean;
        ExpandConfiguration?: {
            MaxResultItemsToExpand?: number;
            MaxExpandedResultsPerItem?: number;
        };
    };
}
export interface QueryResultItem {
    Id?: string;
    Type?: 'DOCUMENT' | 'QUESTION_ANSWER' | 'ANSWER';
    Format?: 'TABLE' | 'TEXT';
    AdditionalAttributes?: Array<{
        Key?: string;
        ValueType?: 'TEXT_WITH_HIGHLIGHTS_VALUE' | 'ANSWER_VALUE';
        Value?: {
            TextWithHighlightsValue?: {
                Text?: string;
                Highlights?: Array<{
                    BeginOffset?: number;
                    EndOffset?: number;
                    TopAnswer?: boolean;
                    Type?: 'STANDARD' | 'THESAURUS_SYNONYM';
                }>;
            };
        };
    }>;
    DocumentId?: string;
    DocumentTitle?: {
        Text?: string;
        Highlights?: Array<{
            BeginOffset?: number;
            EndOffset?: number;
            TopAnswer?: boolean;
            Type?: 'STANDARD' | 'THESAURUS_SYNONYM';
        }>;
    };
    DocumentExcerpt?: {
        Text?: string;
        Highlights?: Array<{
            BeginOffset?: number;
            EndOffset?: number;
            TopAnswer?: boolean;
            Type?: 'STANDARD' | 'THESAURUS_SYNONYM';
        }>;
    };
    DocumentURI?: string;
    DocumentAttributes?: Array<{
        Key?: string;
        Value?: {
            StringValue?: string;
            StringListValue?: string[];
            LongValue?: number;
            DateValue?: string;
        };
    }>;
    ScoreAttributes?: {
        ScoreConfidence?: 'VERY_HIGH' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NOT_AVAILABLE';
    };
    FeedbackToken?: string;
    TableExcerpt?: {
        Rows?: Array<{
            Cells?: Array<{
                Value?: string;
                TopAnswer?: boolean;
                Highlighted?: boolean;
                Header?: boolean;
            }>;
        }>;
        TotalNumberOfRows?: number;
    };
    CollapsedResultDetail?: {
        DocumentAttribute?: {
            Key?: string;
            Value?: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        };
        ExpandedResults?: QueryResultItem[];
    };
}
export interface FacetResult {
    DocumentAttributeKey?: string;
    DocumentAttributeValueType?: 'STRING_VALUE' | 'STRING_LIST_VALUE' | 'LONG_VALUE' | 'DATE_VALUE';
    DocumentAttributeValueCountPairs?: Array<{
        DocumentAttributeValue?: {
            StringValue?: string;
            StringListValue?: string[];
            LongValue?: number;
            DateValue?: string;
        };
        Count?: number;
        FacetResults?: FacetResult[];
    }>;
}
export interface QueryCommandOutput {
    QueryId?: string;
    ResultItems?: QueryResultItem[];
    FacetResults?: FacetResult[];
    TotalNumberOfResults?: number;
    Warnings?: Array<{
        Message?: string;
        Code?: 'QUERY_LANGUAGE_INVALID_SYNTAX';
    }>;
    SpellCorrectedQueries?: Array<{
        SuggestedQueryText?: string;
        Corrections?: Array<{
            BeginOffset?: number;
            EndOffset?: number;
            Term?: string;
            CorrectedTerm?: string;
        }>;
    }>;
    FeaturedResultsItems?: Array<{
        Id?: string;
        Type?: 'DOCUMENT' | 'QUESTION_ANSWER' | 'ANSWER';
        AdditionalAttributes?: Array<{
            Key?: string;
            ValueType?: string;
            Value?: Record<string, unknown>;
        }>;
        DocumentId?: string;
        DocumentTitle?: {
            Text?: string;
            Highlights?: Array<{
                BeginOffset?: number;
                EndOffset?: number;
                TopAnswer?: boolean;
                Type?: string;
            }>;
        };
        DocumentExcerpt?: {
            Text?: string;
            Highlights?: Array<{
                BeginOffset?: number;
                EndOffset?: number;
                TopAnswer?: boolean;
                Type?: string;
            }>;
        };
        DocumentURI?: string;
        DocumentAttributes?: Array<{
            Key?: string;
            Value?: Record<string, unknown>;
        }>;
        FeedbackToken?: string;
    }>;
}
export interface RetrieveCommandInput {
    IndexId: string;
    QueryText: string;
    AttributeFilter?: QueryCommandInput['AttributeFilter'];
    RequestedDocumentAttributes?: string[];
    DocumentRelevanceOverrideConfigurations?: QueryCommandInput['DocumentRelevanceOverrideConfigurations'];
    PageNumber?: number;
    PageSize?: number;
    UserContext?: QueryCommandInput['UserContext'];
}
export interface RetrieveResultItem {
    Id?: string;
    DocumentId?: string;
    DocumentTitle?: string;
    Content?: string;
    DocumentURI?: string;
    DocumentAttributes?: Array<{
        Key?: string;
        Value?: {
            StringValue?: string;
            StringListValue?: string[];
            LongValue?: number;
            DateValue?: string;
        };
    }>;
    ScoreAttributes?: {
        ScoreConfidence?: 'VERY_HIGH' | 'HIGH' | 'MEDIUM' | 'LOW' | 'NOT_AVAILABLE';
    };
}
export interface RetrieveCommandOutput {
    QueryId?: string;
    ResultItems?: RetrieveResultItem[];
}
export interface BatchPutDocumentCommandInput {
    IndexId: string;
    RoleArn?: string;
    Documents: Array<{
        Id: string;
        Title?: string;
        Blob?: Uint8Array;
        S3Path?: {
            Bucket: string;
            Key: string;
        };
        Attributes?: Array<{
            Key: string;
            Value: {
                StringValue?: string;
                StringListValue?: string[];
                LongValue?: number;
                DateValue?: string;
            };
        }>;
        AccessControlList?: Array<{
            Name: string;
            Type: 'USER' | 'GROUP';
            Access: 'ALLOW' | 'DENY';
            DataSourceId?: string;
        }>;
        HierarchicalAccessControlList?: Array<{
            PrincipalList: Array<{
                Name: string;
                Type: 'USER' | 'GROUP';
                Access: 'ALLOW' | 'DENY';
                DataSourceId?: string;
            }>;
        }>;
        ContentType?: 'PDF' | 'HTML' | 'MS_WORD' | 'PLAIN_TEXT' | 'PPT' | 'RTF' | 'XML' | 'XSLT' | 'MS_EXCEL' | 'CSV' | 'JSON' | 'MD';
        AccessControlConfigurationId?: string;
    }>;
    CustomDocumentEnrichmentConfiguration?: CreateDataSourceCommandInput['CustomDocumentEnrichmentConfiguration'];
}
export interface BatchPutDocumentCommandOutput {
    FailedDocuments?: Array<{
        Id?: string;
        ErrorCode?: 'InternalError' | 'InvalidRequest';
        ErrorMessage?: string;
    }>;
}
export interface BatchDeleteDocumentCommandInput {
    IndexId: string;
    DocumentIdList: string[];
    DataSourceSyncJobMetricTarget?: {
        DataSourceId: string;
        DataSourceSyncJobId?: string;
    };
}
export interface BatchDeleteDocumentCommandOutput {
    FailedDocuments?: Array<{
        Id?: string;
        ErrorCode?: 'InternalError' | 'InvalidRequest';
        ErrorMessage?: string;
    }>;
}
export declare class KendraClient {
    private client;
    private region;
    constructor(region?: string);
    private request;
    createIndex(params: CreateIndexCommandInput): Promise<CreateIndexCommandOutput>;
    describeIndex(params: DescribeIndexCommandInput): Promise<DescribeIndexCommandOutput>;
    listIndices(params?: ListIndicesCommandInput): Promise<ListIndicesCommandOutput>;
    deleteIndex(params: DeleteIndexCommandInput): Promise<DeleteIndexCommandOutput>;
    createDataSource(params: CreateDataSourceCommandInput): Promise<CreateDataSourceCommandOutput>;
    describeDataSource(params: DescribeDataSourceCommandInput): Promise<DescribeDataSourceCommandOutput>;
    listDataSources(params: ListDataSourcesCommandInput): Promise<ListDataSourcesCommandOutput>;
    startDataSourceSyncJob(params: StartDataSourceSyncJobCommandInput): Promise<StartDataSourceSyncJobCommandOutput>;
    stopDataSourceSyncJob(params: StopDataSourceSyncJobCommandInput): Promise<StopDataSourceSyncJobCommandOutput>;
    query(params: QueryCommandInput): Promise<QueryCommandOutput>;
    retrieve(params: RetrieveCommandInput): Promise<RetrieveCommandOutput>;
    batchPutDocument(params: BatchPutDocumentCommandInput): Promise<BatchPutDocumentCommandOutput>;
    batchDeleteDocument(params: BatchDeleteDocumentCommandInput): Promise<BatchDeleteDocumentCommandOutput>;
    /**
     * Simple search query
     */
    search(indexId: string, queryText: string, options?: {
        pageSize?: number;
        pageNumber?: number;
        attributeFilter?: QueryCommandInput['AttributeFilter'];
    }): Promise<QueryResultItem[]>;
    /**
     * Retrieve documents (for RAG)
     */
    retrieveDocuments(indexId: string, queryText: string, options?: {
        pageSize?: number;
        pageNumber?: number;
    }): Promise<RetrieveResultItem[]>;
    /**
     * Add a text document to the index
     */
    addDocument(indexId: string, document: {
        id: string;
        title?: string;
        content: string;
        attributes?: Record<string, string | string[] | number>;
    }): Promise<void>;
    /**
     * Add multiple documents
     */
    addDocuments(indexId: string, documents: Array<{
        id: string;
        title?: string;
        content: string;
        attributes?: Record<string, string | string[] | number>;
    }>): Promise<{
        succeeded: number;
        failed: Array<{
            id: string;
            error: string;
        }>;
    }>;
    /**
     * Delete documents
     */
    deleteDocuments(indexId: string, documentIds: string[]): Promise<void>;
    /**
     * Wait for index to be active
     */
    waitForIndex(indexId: string, options?: {
        maxWaitMs?: number;
        pollIntervalMs?: number;
    }): Promise<Index>;
    /**
     * Wait for data source to be active
     */
    waitForDataSource(indexId: string, dataSourceId: string, options?: {
        maxWaitMs?: number;
        pollIntervalMs?: number;
    }): Promise<DataSource>;
}
/**
 * Quick search
 */
export declare function search(indexId: string, query: string, options?: {
    region?: string;
    pageSize?: number;
}): Promise<Array<{
    title: string;
    excerpt: string;
    uri: string;
    score: string;
}>>;
/**
 * Retrieve for RAG
 */
export declare function retrieveForRag(indexId: string, query: string, options?: {
    region?: string;
    pageSize?: number;
}): Promise<Array<{
    content: string;
    uri: string;
    score: string;
}>>;
