import * as views from "arangojs/views"; import { ViewPropertiesOptions as ReplaceViewPropertiesOptions, UpdateViewPropertiesOptions, ViewDescription, ViewProperties } from "arangojs/views"; import { ArangoDatabase } from "./arango-database.js"; export type { ReplaceViewPropertiesOptions, UpdateViewPropertiesOptions, ViewDescription, ViewProperties, }; export type ViewType = views.CreateViewOptions["type"]; export type CreateArangoSearchViewOptions = Omit; export type CreateSearchAliasViewOptions = Omit; export declare class ArangoView { isArangoView: boolean; private _data; private _database; private get _arangojs(); constructor(database: ArangoDatabase, data: ViewDescription); get _id(): string; get _dbName(): string; name(): string; type(): "arangosearch" | "search-alias"; properties(): Promise; properties(properties: UpdateViewPropertiesOptions, partialUpdate?: true): Promise; properties(properties: ReplaceViewPropertiesOptions, partialUpdate: false): Promise; rename(name: string): Promise; drop(): Promise; } //# sourceMappingURL=arango-view.d.ts.map