import { State, FetchedState } from '../types/state.js'; import { Core, CooldownError, MissingFetcherError } from '../core/core.js'; import { Optional } from '@hazae41/option'; import { ScrollFetcherfulQuerySettings, ScrollFetcherlessQuerySettings } from '../types/settings.js'; import { Result } from '@hazae41/result'; import { Data } from '../result/data.js'; import { Fail } from '../result/fail.js'; import { FetchError } from '../types/fetcher.js'; import { Mutator } from '../types/mutator.js'; declare class ScrollFetcherfulQueryInstance { readonly core: Core; readonly cacheKey: string; readonly settings: ScrollFetcherfulQuerySettings; private constructor(); static make(core: Core, cacheKey: string, qsettings: ScrollFetcherfulQuerySettings): Promise>; get state(): State; get aborter(): Optional; get current(): Data | Fail | undefined; get data(): Data | undefined; get error(): Fail | undefined; get real(): FetchedState | undefined; get fake(): FetchedState | undefined; peek(): Optional; mutate(mutator: Mutator): Promise>; delete(): Promise>; fetch(aborter?: AbortController): Promise, FetchError>, CooldownError>>; refetch(aborter?: AbortController): Promise, FetchError>, never>>; scroll(aborter?: AbortController): Promise, FetchError>, never>>; } declare class ScrollFetcherlessQueryInstance { readonly core: Core; readonly cacheKey: string; readonly settings: ScrollFetcherlessQuerySettings; private constructor(); static make(core: Core, cacheKey: string, qsettings: ScrollFetcherlessQuerySettings): Promise>; get state(): State; get aborter(): Optional; get current(): Data | Fail | undefined; get data(): Data | undefined; get error(): Fail | undefined; get real(): FetchedState | undefined; get fake(): FetchedState | undefined; peek(): Optional; mutate(mutator: Mutator): Promise>; delete(): Promise>; fetch(aborter?: AbortController): Promise>; refetch(aborter?: AbortController): Promise>; scroll(aborter?: AbortController): Promise>; } export { ScrollFetcherfulQueryInstance, ScrollFetcherlessQueryInstance };