/**
 * @packageDocumentation
 * Handles fetching and processing consent banner information.
 */
import type { ContractsOutputs } from '@c15t/backend/contracts';
import { type TranslationConfig } from '@c15t/translations';
import type { StoreApi } from 'zustand/vanilla';
import type { ConsentManagerInterface } from '../client/client-factory';
import type { PrivacyConsentState } from '../store.type';
type ConsentBannerResponse = ContractsOutputs['consent']['showBanner'];
/**
 * Configuration for fetching consent banner information
 */
interface FetchConsentBannerConfig {
    manager: ConsentManagerInterface;
    initialData?: Promise<ContractsOutputs['consent']['showBanner'] | undefined>;
    initialTranslationConfig?: Partial<TranslationConfig>;
    get: StoreApi<PrivacyConsentState>['getState'];
    set: StoreApi<PrivacyConsentState>['setState'];
}
/**
 * Fetches consent banner information from the API and updates the store.
 *
 * @param config - Configuration object containing store and manager instances
 * @returns A promise that resolves with the consent banner response when the fetch is complete
 */
export declare function fetchConsentBannerInfo(config: FetchConsentBannerConfig): Promise<ConsentBannerResponse | undefined>;
export {};
//# sourceMappingURL=fetch-consent-banner.d.ts.map