import { GuestType, GuestObjectType, Guest, SourceWithPool, SourceObjectType, SourceType } from 'patron-oop'; declare class HistoryPoppedPage { private pageSource; constructor(pageSource: GuestType); watchPop(): void; } declare class HistoryNewPage implements GuestObjectType { give(url: string): this; } interface HistoryPageDocument { url: string; title: string; data?: unknown; } interface FetchRequestType extends RequestInit { url: string; asJson: boolean; } /** * Wrapper around FetchAPI * https://kosukhin.github.io/patron-web-api/#/fetch/fetched */ declare class Fetched { private errors; private source; constructor(errors: Guest); do(): Guest; result(): SourceWithPool; } declare class Element implements SourceObjectType { private selector; constructor(selector: SourceType); value(guest: GuestType): this; } declare class Attribute implements SourceObjectType { private element; private attrName; private defaultValue; constructor(element: SourceType, attrName: string, defaultValue?: string); value(guest: GuestType): this; } declare class StyleInstalled implements GuestObjectType { give(value: string): this; } declare class Log implements GuestObjectType { private title; constructor(title?: string); introduction(): "guest" | "patron"; give(value: unknown): this; } export { Attribute, Element, Fetched, HistoryNewPage, type HistoryPageDocument, HistoryPoppedPage, Log, StyleInstalled };