import { PerxImage, PerxReward } from './Reward'; import { PerxCategory, PerxTag } from './Taxonomy'; export declare class PerxCampaign { id: number; name: string; description: string | null; termsAndConditions: string | null; beginsAt: Date; endsAt: Date | null; enrolled: boolean; campaignType: string | null; campaignReferralType: string | null; campaignConfig: any; images: PerxImage[]; favourite: boolean; customFields: any; categoryTags: PerxCategory[]; activeAt: Date | null; gameType: string | null; operatingNow: boolean; rewards: PerxReward[]; displayProperties: any; tags: PerxTag[]; private _token; private _microSiteBaseUrl; /** * Automatically invoke this API when client has been invoked. * * This method will set a volatile context for compute the micrositeUrl. * * Consumer may just call `makeMicrositeUrl` to produce the expected micrositeUrl on its own. * * @param token * @param baseUrl */ configMicrositeContext(token: string, baseUrl: string): void; makeMicrositeUrl(token: string, baseUrl: string): string; get micrositeUrl(): string; toJSON(): { [p: string]: any; }; }