import type { Destination } from '@sap-cloud-sdk/connectivity/internal'; import type { GetTestDestinationOptions } from './test-destination-provider'; /** * Add a destination with the given name from the `systems.json` and `credentials.json` files to the `destinations` environment variable. * * Throws an error if a destination with the same name as the given test destination already exists. * @param name - Name of the test destination to add to the `destinations` environment variable. * @param options - References to the `systems.json` and `credentials.json` files. */ export declare function mockTestDestination(name: string, options?: GetTestDestinationOptions): void; /** * Set a given destination in the `destinations` environment variable. * * Throws an error if a destination with the same name as the given test destination already exists. * @param destination - Test destination to add to the `destinations` environment variable. */ export declare function setTestDestination(destination: Destination): void; /** * Removes a destination with the given name from the destinations environment variable. If the given destination name is not found calling this function has no effect. * This function should be called to invert the behavior of {@link mockTestDestination}() and {@link setTestDestination}(). * @param name - Name of the mocked destination to remove. */ export declare function unmockTestDestination(name: string): void; /** * Add all destinations from the `systems.json` and `credentials.json` files to the `destinations` environment variable. * * Throws an error if a destination with the same name as the given test destinations already exists. * @param options - References to the `systems.json` and `credentials.json` files. */ export declare function mockAllTestDestinations(options?: GetTestDestinationOptions): void; /** * Removes all test destinations stored in `systems.json` and `credentials.json` files or added through {@link setTestDestination}() from the `destinations` environment variable. * * This function should be called to invert the behavior of {@link mockAllTestDestinations}() and other add single mocked destination functions. */ export declare function unmockAllTestDestinations(): void;