import type { Client as OpenSearchClient } from "@opensearch-project/opensearch"; import type { EventualServiceClient } from "../service-client.js"; import type { ServiceSpec } from "./service-spec.js"; import type { ServiceType } from "./service-type.js"; export declare enum PropertyKind { BucketPhysicalName = 0, QueuePhysicalName = 1, OpenSearchClient = 2, ServiceClient = 3, ServiceName = 4, ServiceSpec = 5, ServiceType = 6, ServiceUrl = 7, SocketUrls = 8, TaskToken = 9 } export declare const PropertySymbol: unique symbol; export type Property = BucketPhysicalName | OpenSearchClientProperty | QueuePhysicalName | ServiceClientProperty | ServiceNameProperty | ServiceSpecProperty | ServiceTypeProperty | ServiceUrlProperty | SocketUrlsProperty | TaskTokenProperty; export type PropertyType = E extends PropertyBase ? Type : never; export interface PropertyBase { [PropertySymbol]: Kind; __type: Type; } export declare function createEventualProperty

(kind: P[typeof PropertySymbol], e: Omit): P; export declare function isServicePropertyOfKind(kind: K, property: Property): property is Property & { [PropertySymbol]: K; }; export interface BucketPhysicalName extends PropertyBase { bucketName: string; } export interface QueuePhysicalName extends PropertyBase { queueName: string; } export interface SocketUrls { http: string; wss: string; } export interface SocketUrlsProperty extends PropertyBase { socketName: string; } export type OpenSearchClientProperty = PropertyBase; export type ServiceClientProperty = PropertyBase; export type ServiceUrlProperty = PropertyBase; export type ServiceNameProperty = PropertyBase; export type ServiceSpecProperty = PropertyBase; export type ServiceTypeProperty = PropertyBase; export type TaskTokenProperty = PropertyBase; //# sourceMappingURL=properties.d.ts.map