import type { ClientOptionGroup } from '../../../../v2/blocks/scalar-request-example-block/types';
import type { XCodeSample } from '@scalar/openapi-types/schemas/extensions';
import { type AvailableClients } from '@scalar/snippetz';
/** Helper to generate an ID for custom code samples */
export declare const generateCustomId: (example: XCodeSample) => string;
/**
 * Generates client options for the request example block by combining built-in snippets
 * with custom code samples. This function creates a structured list of available
 * client options that can be used to generate code examples for different programming
 * languages and frameworks.
 *
 * The function filters built-in clients based on the allowedClients parameter and
 * groups them by their category (e.g., JavaScript, Python, etc.). Custom code samples
 * are added as a separate "Code Examples" group at the top of the list.
 *
 * @param customRequestExamples - Array of custom code samples to include in the options
 * @param allowedClients - Optional array of allowed client IDs to filter built-in clients
 * @returns Array of client option groups, each containing a label and array of client options
 */
export declare const generateClientOptions: (customRequestExamples: XCodeSample[], allowedClients?: AvailableClients[number][]) => ClientOptionGroup[];
//# sourceMappingURL=generate-client-options.d.ts.map