import * as arktype_out_variants_object from 'arktype/out/variants/object';
import { d as ColorSpecification, g as FunctionSpecification, W as SpecProperty, a as Config } from './types-CpUWRnTg.js';

declare const TokenScriptSchemaResponseSchema: arktype_out_variants_object.ObjectType<{
    id: string;
    type: string;
    schema: string;
    slug: string;
    version: string;
    content: {
        name: string;
        type: "color";
        initializers: {
            keyword: string;
            script: {
                type: string;
                script: string;
            };
            title?: string | undefined;
            description?: string | undefined;
        }[];
        conversions: {
            source: string;
            target: string;
            lossless: boolean;
            script: {
                type: string;
                script: string;
            };
            description?: string | undefined;
        }[];
        description?: string | undefined;
        schema?: {
            type: "object";
            properties: Record<string, SpecProperty>;
            required?: string[] | undefined;
            order?: string[] | undefined;
            additionalProperties?: boolean | undefined;
        } | undefined;
    } | {
        name: string;
        type: "function";
        script: {
            type: string;
            script: string;
        };
        keyword: string;
        input?: {
            type: "object";
            properties?: Record<string, unknown> | undefined;
        } | undefined;
        description?: string | undefined;
        requirements?: string[] | undefined;
    };
    license_name?: string | null | undefined;
}, {}>;
type TokenScriptSchemaResponse = typeof TokenScriptSchemaResponseSchema.infer;
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 };
