import { GetMetadataResponse } from "../../types/metadata/GetMetadataResponse"; /** * Dapr client interface for retrieving and updating runtime metadata. * Provides access to Dapr runtime configuration and status information. * * @see https://docs.dapr.io/reference/api/ */ export default interface IClientMetadata { /** * Retrieves metadata about the Dapr sidecar runtime. * Includes information about components, configuration, and runtime status. * * @returns A promise that resolves to metadata response containing runtime information. * * @see https://docs.dapr.io/reference/api/ */ get(): Promise; /** * Sets a metadata value on the Dapr runtime. * * @param key - The metadata key to set. * @param value - The value to set for the key. * @returns A promise that resolves to true if the operation succeeds; false otherwise. * * @see https://docs.dapr.io/reference/api/ */ set(key: string, value: string): Promise; }