import type { EmptyObject } from '../../../../../framework-types/BaseTypes';
import type { ArrayAtom } from '../../../core/state/ArrayStateAtom';
import type { PrimitiveAtom } from '../../../core/state/PrimitiveAtom';
import type { StateAtom } from '../../../core/state/Types';
import type { BaseAdPodAtom } from '../../base/BaseAdPodAtom';
import { AdBreakState } from '../Types';
import type { ContentSourceAdApiContext } from './Types';
type AdBreak = {
    id: string;
    position: number;
    state: PrimitiveAtom<AdBreakState>;
    adPods: ArrayAtom<BaseAdPodAtom>;
    error: PrimitiveAtom<Error | undefined>;
};
export type AdBreakAtom = StateAtom<AdBreak, EmptyObject>;
export declare function createAdBreakAtom(context: ContentSourceAdApiContext, position: number, ...initialAdPods: BaseAdPodAtom[]): AdBreakAtom;
export declare function findAdBreakAtPosition(adBreaks: ArrayAtom<AdBreakAtom>, position: number): AdBreakAtom | undefined;
export declare function findAdBreakContainingPod(adBreaks: ArrayAtom<AdBreakAtom>, adPod: BaseAdPodAtom): AdBreakAtom | undefined;
export {};
