import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets an index. */ export declare function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetIndexArgs { databaseId: string; indexId: string; project?: string; } export interface GetIndexResult { /** * The collection ID to which this index applies. Required. */ readonly collectionId: string; /** * The fields to index. */ readonly fields: outputs.firestore.v1beta1.GoogleFirestoreAdminV1beta1IndexFieldResponse[]; /** * The resource name of the index. Output only. */ readonly name: string; /** * The state of the index. Output only. */ readonly state: string; } /** * Gets an index. */ export declare function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetIndexOutputArgs { databaseId: pulumi.Input; indexId: pulumi.Input; project?: pulumi.Input; }