/** * Delete Campaign Service * Permanently deletes a campaign */ import type { ServiceOptions } from '@plyaz/types/api'; import type { EndpointsList } from '@/api/endpoints'; import type { FetchResponse } from 'fetchff'; /** * Delete a campaign * Uses endpoint: DELETE /campaigns/:id * * @param campaignId - The campaign ID to delete * @param options - Optional service options (client override, config overrides) * @returns Promise * * @example * ```typescript * // Basic usage * await deleteCampaign('camp-123'); * * // With retry configuration * await deleteCampaign('camp-123', { * apiConfig: { retry: { attempts: 3, delay: 1000 } } * }); * ``` * * @throws {ApiPackageError} When the request fails or campaign is not found */ export declare function deleteCampaign(campaignId: string, options?: ServiceOptions): Promise; //# sourceMappingURL=deleteCampaign.d.ts.map