import type { Endpoint, ResultMessage, EndpointResults } from '../types'; import { UrlServiceType } from '../types'; /** * Check a BAS destination, like catalog service v2 & v4. * * @param destination - Destination from list of all destinations * @param username - username * @param password - password * @returns messages and destination results */ export declare function checkBASDestination(destination: Endpoint, username?: string | undefined, password?: string | undefined): Promise<{ messages: ResultMessage[]; destinationResults: EndpointResults; }>; /** * Returns whether a given destination requires username/password. * * @param destination - the destination to check * @returns boolean if basic auth is required */ export declare function needsUsernamePassword(destination: Endpoint): boolean; /** * Checks the destinations and returns a list. * * @returns messages, destinations */ export declare function checkBASDestinations(): Promise<{ messages: ResultMessage[]; destinations: Endpoint[]; }>; /** * Return the URL service type for a given destination. * * @param destination - destination to check * @returns - URL service type, like 'Full Service URL', 'Catalog Service', 'Partial URL' */ export declare function getUrlServiceTypeForDest(destination: Endpoint): UrlServiceType; //# sourceMappingURL=destination.d.ts.map