/** * Create Feature Flag Service * Creates a new feature flag */ import type { ServiceOptions, CreateFlagResponse, CreateFeatureFlagRequest } from '@plyaz/types/api'; import type { EndpointsList } from '@/api/endpoints'; import type { FetchResponse } from 'fetchff'; /** * Create a new feature flag * Uses endpoint: POST /feature-flags * * @param data - Feature flag creation data * @param options - Optional service options * @returns Promise * * @example * ```typescript * const result = await createFeatureFlag({ * key: 'new-dashboard', * name: 'New Dashboard', * description: 'Enable new dashboard UI', * defaultValue: false, * isEnabled: true * }); * ``` */ export declare function createFeatureFlag(data: CreateFeatureFlagRequest, options?: ServiceOptions): Promise>>; //# sourceMappingURL=createFeatureFlag.d.ts.map