import { ActionsType, File, Model, RequestConfig, RequestInstance } from '@topwrite/common'; interface PageState { loading: boolean; error?: Error; request: RequestInstance; config: RequestConfig; file: File; lfs?: { url: string; files: { [index: string]: string; }; }; } type Interceptors = RequestInstance['interceptors']; declare class Page extends Model { initialState: { loading: boolean; request: import("axios").AxiosInstance; config: {}; }; subscription({ fetch }: ActionsType): void; fetch(pathname: string): AsyncGenerator; intercept(handler: (interceptors: Interceptors) => void): Generator; updateConfig(updater: (config: RequestConfig) => void): Generator; } export declare const page: Page; export {};