import type { StandardSchemaV1 } from '@standard-schema/spec'; import type { ErrorBehavior } from '../types.js'; export interface ValidationLogger { error: (message: string) => void; warn: (message: string) => void; } export type RuntimeValidationResult = { success: true; value: unknown; } | { success: false; }; export declare function isPromiseLike(value: T | Promise): value is Promise; export declare function validateRuntimeConfig(config: unknown, schema: StandardSchemaV1, onError: ErrorBehavior, logger: ValidationLogger): RuntimeValidationResult | Promise; export declare function isStandardSchema(schema: unknown): schema is StandardSchemaV1;