frontend/.pnpm-store/v3/files/68/3f3705b0f640497b2a93890029944cb1046966d5ecdcc960f29bf3103dabed0e7e7f2677a940bc3f40904b2238feea106b5628b9729b9043c31cd21b212e1a

21 lines
663 B
Plaintext

import { Fragment, FragmentFactory } from './types';
interface PromiseInfo<T> {
ctx: null | any;
token: {};
hasCatch: boolean;
pending: FragmentFactory;
then: FragmentFactory;
catch: FragmentFactory;
value: number;
error: number;
resolved?: T;
current: FragmentFactory | null;
block: Fragment | null;
blocks: [null | Fragment, null | Fragment, null | Fragment];
mount: () => HTMLElement;
anchor: HTMLElement;
}
export declare function handle_promise<T>(promise: Promise<T>, info: PromiseInfo<T>): boolean;
export declare function update_await_block_branch(info: any, ctx: any, dirty: any): void;
export {};