master
ts 14 lines 459 Bytes
Raw
1 import { MobileAd, type MobileAdOptions } from "./common";
2 export declare class BannerAd extends MobileAd<BannerAdOptions> {
3 #private;
4 static cls: string;
5 constructor(opts: BannerAdOptions);
6 isLoaded(): Promise<unknown>;
7 load(): Promise<void>;
8 show(): Promise<void>;
9 hide(): Promise<void>;
10 }
11 export type BannerPosition = "top" | "bottom";
12 export interface BannerAdOptions extends MobileAdOptions {
13 position?: BannerPosition;
14 }