import { EventEmitter } from '../../../stencil-public-runtime';
import { Page } from '../../../models/definitions';
import { IPageResult } from '../../../models/page.model';
export declare class SparklePage {
  path: string;
  presentation: boolean;
  badFetch?: Response | null;
  page: Page;
  pageDidLoad: EventEmitter<{
    pageInfo: IPageResult;
  }>;
  componentWillLoad(): Promise<void>;
  fetchPage(path: string | null, oldPath?: string): Promise<void>;
  validateFetch: (response: Response) => Promise<any>;
  handleNewPage: (page: Page) => void;
  handleBadFetch: (error: Response) => void;
  disconnectedCallback(): void;
  setDocumentMeta(page: Page): void;
  hostData(): {
    class: {
      [x: number]: boolean;
    };
  };
  presentFeedbackModal(): Promise<void>;
  renderControls(): any;
  render(): any;
}
