import type { RateType } from "../../graphql/__generated__/types"; export declare type OAPNetwork = { id: number; name: string; }; export declare type OAPPublisher = { id: number; name: string; networks: OAPNetwork[]; }; export declare type OAPInventoryItem = { startDatetime: string; endDatetime: string; networkIds: number[]; units: string; rateKey: string; rateTypes: RateType[]; validUntil: string; externalId: string; externalName?: string; externalProjections?: { [index: string]: number; }; }; export declare type OAPInventory = { broadcastDate: string; items: OAPInventoryItem[]; }; export declare type OAPRate = { rateKey: string; rateType: RateType; rate: string; validFrom: string; validUntil: string; buyerId?: number; advertiserId?: number; }; export declare type OAPRates = { validFrom: string; items: OAPRate[]; }; export declare type OAPError = { timestamp: string; status: number; message?: string; error: { [key: string]: unknown; }; }; export declare type OAPAuthError = { error_description: string; error: string; }; export declare function isOAPAuthError(error: unknown): error is OAPAuthError;