import { SdkClientType, SdkHttpOperation } from "@azure-tools/typespec-client-generator-core";
import { Program } from "@typespec/compiler";
/**
 * Gets the array of api-version on the TypeSpec service that contains this SDK client.
 * `undefined` if the service is not versioned.
 *
 * @param program the program
 * @param client the SDK client
 * @returns the array of api-version on the TypeSpec service that contains this SDK client
 */
export declare function getServiceApiVersions(program: Program, client: SdkClientType<SdkHttpOperation>): string[] | undefined;
/**
 * Filter api-versions for "ServiceVersion".
 * TODO(xiaofei) pending TCGC design: https://github.com/Azure/typespec-azure/issues/965
 *
 * @param pinnedApiVersion the api-version to use as filter base
 * @param versions api-versions to filter
 * @returns filtered api-versions
 */
export declare function getFilteredApiVersions(pinnedApiVersion: string | undefined, versions: string[], excludePreview?: boolean): string[];
export declare function isStableApiVersion(version: string): boolean;
//# sourceMappingURL=versioning-utils.d.ts.map