import { b as ColorSpecification, F as FunctionSpecification, e as Config } from './types-CxQPMHn1.js';
import '@tokens-studio/schema-validation';

interface TokenScriptSchemaResponse {
    id: string;
    type: string;
    schema: string;
    slug: string;
    version: string;
    content: TokenScriptSchemaContent;
    license_name?: string | null;
}
type TokenScriptSchemaContent = ColorSpecification | FunctionSpecification;
interface SchemaFetcherOptions {
    timeout?: number;
    headers?: Record<string, string>;
    signal?: AbortSignal;
}
declare function fetchTokenScriptSchema(schemaUri: string, options?: SchemaFetcherOptions): Promise<TokenScriptSchemaResponse>;
declare function fetchAndRegisterSchemas(schemaUris: string[], config?: Config): Promise<Config>;

export { type SchemaFetcherOptions, type TokenScriptSchemaContent, type TokenScriptSchemaResponse, fetchAndRegisterSchemas, fetchTokenScriptSchema };
