import type { TrustListProvider } from "./contract"; import type { CompactTrustedListBundle, TrustedListData } from "./types"; export interface CreateTrustListProviderFromDataOptions { data: CompactTrustedListBundle | TrustedListData; } export interface CreateTrustListProviderFromUrlOptions { url: string; fetch?: typeof fetch; headers?: HeadersInit; } export type CreateTrustListProviderOptions = CreateTrustListProviderFromDataOptions | CreateTrustListProviderFromUrlOptions; export declare function createTrustListProvider(options: CreateTrustListProviderOptions): TrustListProvider;