php-wasm
Version:
Run PHP right in the browser or anywhere else JS can run
12 lines (10 loc) • 618 B
text/typescript
// Generated by bin/generate-runtime-types.mjs.
import type { PhpRuntimeArgs, PhpRuntimeValue } from './public.d.ts';
import type { PhpBase } from './PhpBase.d.cts';
export class PhpWebview extends PhpBase<[phpCode: string], void> {
constructor(args?: PhpRuntimeArgs);
startTransaction(): Promise<void>;
commitTransaction(readOnly?: boolean): Promise<void>;
refresh(): Promise<void>;
_enqueue(callback: (...params: Array<string | number | boolean | object | undefined>) => Promise<PhpRuntimeValue>, params?: Array<string | number | boolean | object | undefined>, readOnly?: boolean): Promise<PhpRuntimeValue>;
}