import { type ConfigMappingsType, SecretValue } from '@aztec/foundation/config'; import { type BlobSinkArchiveApiConfig } from '../archive/config.js'; /** * The configuration for the blob sink client */ export interface BlobSinkConfig extends BlobSinkArchiveApiConfig { /** * The URL of the blob sink */ blobSinkUrl?: string; /** * List of URLs for L1 RPC Execution clients */ l1RpcUrls?: string[]; /** * List of URLs for L1 consensus clients */ l1ConsensusHostUrls?: string[]; /** * List of API keys for the corresponding L1 consensus client URLs. Added at the end of the URL as "?key=" unless a header is defined */ l1ConsensusHostApiKeys?: SecretValue[]; /** * List of header names for the corresponding L1 consensus client API keys, if needed. Added as ": " */ l1ConsensusHostApiKeyHeaders?: string[]; /** * The map size to be provided to LMDB for each blob sink DB, optional, will inherit from the general dataStoreMapSizeKb if not specified */ blobSinkMapSizeKb?: number; /** * Whether to allow having no blob sources configured during startup */ blobAllowEmptySources?: boolean; } export declare const blobSinkConfigMapping: ConfigMappingsType; /** * Returns the blob sink configuration from the environment variables. * @returns The blob sink configuration. */ export declare function getBlobSinkConfigFromEnv(): BlobSinkConfig; /** * Returns whether the given blob sink config has any remote sources defined. */ export declare function hasRemoteBlobSinkSources(config?: BlobSinkConfig): boolean; //# sourceMappingURL=config.d.ts.map