/** * Update Feature Flag Service * Updates an existing feature flag */ import { type ServiceOptions, type UpdateFlagRequest, type UpdateFlagResponse } from '@plyaz/types/api'; import type { EndpointsList } from '@/api/endpoints'; import type { FetchResponse } from 'fetchff'; /** * Request payload for updateFeatureFlag */ export interface UpdateFeatureFlagPayload { key: TKey; data: UpdateFlagRequest; } /** * Update an existing feature flag * Uses endpoint: PUT /feature-flags/:key * * @param payload - Flag key and update data * @param options - Optional service options * @returns Promise * * @example * ```typescript * await updateFeatureFlag({ * key: 'new-dashboard', * data: { * name: 'Updated Dashboard', * isEnabled: false * } * }); * ``` */ export declare function updateFeatureFlag(payload: UpdateFeatureFlagPayload, options?: ServiceOptions): Promise>>; //# sourceMappingURL=updateFeatureFlag.d.ts.map