/**
 * Cache operations for Managed Runtime.
 *
 * Handles cache invalidation for MRT environments.
 *
 * @module operations/mrt/cache
 */
import type { AuthStrategy } from '../../auth/types.js';
/**
 * Options for invalidating cache.
 */
export interface InvalidateCacheOptions {
    /**
     * The project slug.
     */
    projectSlug: string;
    /**
     * The target/environment slug.
     */
    targetSlug: string;
    /**
     * Path pattern to invalidate on the CDN.
     * Must start with a forward slash (/).
     * Use /* to invalidate all cached paths.
     */
    pattern: string;
    /**
     * MRT API origin URL.
     * @default "https://cloud.mobify.com"
     */
    origin?: string;
}
/**
 * Result of cache invalidation.
 */
export interface InvalidateCacheResult {
    /**
     * Status message.
     */
    result: string;
    /**
     * Target slug.
     */
    slug: string;
}
/**
 * Invalidates cached objects in the CDN for an MRT environment.
 *
 * Cache invalidations are asynchronous and usually complete within two minutes.
 *
 * @param options - Invalidation options
 * @param auth - Authentication strategy (ApiKeyStrategy)
 * @returns Invalidation result
 * @throws Error if request fails
 *
 * @example
 * ```typescript
 * import { ApiKeyStrategy } from '@salesforce/b2c-tooling-sdk/auth';
 * import { invalidateCache } from '@salesforce/b2c-tooling-sdk/operations/mrt';
 *
 * const auth = new ApiKeyStrategy(process.env.MRT_API_KEY!, 'Authorization');
 *
 * // Invalidate all cached paths
 * const result = await invalidateCache({
 *   projectSlug: 'my-storefront',
 *   targetSlug: 'production',
 *   pattern: '/*'
 * }, auth);
 *
 * console.log(result.result);
 *
 * // Invalidate specific path
 * const result2 = await invalidateCache({
 *   projectSlug: 'my-storefront',
 *   targetSlug: 'production',
 *   pattern: '/products/*'
 * }, auth);
 * ```
 */
export declare function invalidateCache(options: InvalidateCacheOptions, auth: AuthStrategy): Promise<InvalidateCacheResult>;
