/**
 * Type definitions for Import Resolver
 */
export interface ImportSpec {
    file?: string;
    from?: string;
    package?: string;
    namespace?: string;
    version?: string;
    select?: string[];
    as?: Record<string, string>;
}
export interface ResolvedImport {
    content: string;
    contentType: 'yaml' | 'json';
    source: 'file' | 'npm' | 'url' | 'cache' | 'specverse-lib' | 'specverse-registry';
    path?: string;
    url?: string;
    packageName?: string;
    version?: string;
    libraryName?: string;
    cached?: boolean;
    cacheExpires?: number;
    parsed?: any;
}
export interface ImportResolverOptions {
    basePath?: string;
    cacheDir?: string;
    cacheTTL?: number;
    offline?: boolean;
    npmRegistry?: string;
    specverseRegistry?: string;
    registryFallback?: boolean;
    timeout?: number;
    headers?: Record<string, string>;
    debug?: boolean;
}
export interface CacheOptions {
    ttl?: number;
    etag?: string;
    force?: boolean;
}
export interface CachedItem {
    content: string;
    meta: CacheMetadata;
}
export interface CacheMetadata {
    url: string;
    cached: number;
    expires: number;
    etag?: string;
    contentType?: string;
    size: number;
}
//# sourceMappingURL=types.d.ts.map