import type { SlotMatchingFn } from '../src/targeting.ts'; import type { AdUnitCode } from '../src/types/common.d.ts'; import type { AdUnit } from '../src/adUnits.ts'; export declare let _currentConfig: any; export declare function getSegments(fpd: any, sections: any, segtax: any): any; export declare function getSignals(fpd: any): { taxonomy: string; values: any; }[]; export declare function getSignalsArrayByAuctionsIds(auctionIds: any, index?: import("../src/auctionIndex.js").AuctionIndex): any; export declare function getSignalsIntersection(signals: any): {}; export declare function getAuctionsIdsFromTargeting(targeting: any, am?: import("../src/auctionManager.js").AuctionManager): any[]; export declare const appendGptSlots: (adUnits: any) => {}; export declare const makeBidRequestsHook: (fn: any, adUnits: any, ...args: any[]) => any; type GPTPreAuctionConfig = { /** * allows turning off of module. Default value is true */ enabled?: boolean; /** * If true, use default behavior for determining GPID and PbAdSlot. Defaults to false. */ useDefaultPreAuction?: boolean; customGptSlotMatching?: SlotMatchingFn; /** * @param adUnitCode Ad unit code * @param adServerAdSlot The value of that ad unit's `ortb2Imp.ext.data.adserver.adslot` * @returns pbadslot for the ad unit */ customPbAdSlot?: (adUnitCode: AdUnitCode, adServerAdSlot: string) => string; /** * @param adUnit An ad unit object * @param adServerAdSlot The value of that ad unit's `ortb2Imp.ext.data.adserver.adslot` * @param gptAdUnitPath GPT ad unit path for the slot matching the PBJS ad unit * @returns GPID for the ad unit */ customPreAuction?: (adUnit: AdUnit, adServerAdSlot: string, gptAdUnitPath: string) => string; /** * Removes extra network IDs when Multiple Customer Management is active. Default is false. */ mcmEnabled?: boolean; }; declare module '../src/config' { interface Config { gptPreAuction?: GPTPreAuctionConfig; } } export {};