import type { ClientOptions } from "@azure-rest/core-client"; import type { AzureKeyCredential, AzureSASCredential, TokenCredential } from "@azure/core-auth"; import type { MapsGeolocationClient } from "./generated/index.js"; /** * Creates an instance of MapsGeolocationClient from a subscription key. * * @example * ```ts snippet:ReadmeSampleCreateClient_SubscriptionKey * import { AzureKeyCredential } from "@azure/core-auth"; * import MapsGeolocation from "@azure-rest/maps-geolocation"; * * const credential = new AzureKeyCredential(""); * const client = MapsGeolocation(credential); *``` * * @param credential - An AzureKeyCredential instance used to authenticate requests to the service * @param options - Options used to configure the Geolocation Client */ export default function MapsGeolocation(credential: AzureKeyCredential, options?: ClientOptions): MapsGeolocationClient; /** * Creates an instance of MapsGeolocation from an Azure Identity `TokenCredential`. * * @example * ```ts snippet:ReadmeSampleCreateClient_TokenCredential * import { DefaultAzureCredential } from "@azure/identity"; * import MapsGeolocation from "@azure-rest/maps-geolocation"; * * const credential = new DefaultAzureCredential(); * const client = MapsGeolocation(credential, ""); *``` * * @param credential - An TokenCredential instance used to authenticate requests to the service * @param mapsAccountClientId - The Azure Maps client id of a specific map resource * @param options - Options used to configure the Route Client */ export default function MapsGeolocation(credential: TokenCredential, mapsAccountClientId: string, options?: ClientOptions): MapsGeolocationClient; /** * Creates an instance of MapsGeolocation from an Azure Identity `AzureSASCredential`. * * @example * ```ts snippet:ReadmeSampleCreateClient_SASToken * import { AzureSASCredential } from "@azure/core-auth"; * import MapsGeolocation from "@azure-rest/maps-geolocation"; * * const credential = new AzureSASCredential(""); * const client = MapsGeolocation(credential); * ``` * * @param credential - An AzureSASCredential instance used to authenticate requests to the service * @param options - Options used to configure the Geolocation Client */ export default function MapsGeolocation(credential: AzureSASCredential, options?: ClientOptions): MapsGeolocationClient; //# sourceMappingURL=MapsGeolocation.d.ts.map