Adds @xuqm/h5-sdk/private entry point with JSON-based initialization, feature gating, and error codes for private deployment scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 行
870 B
TypeScript
19 行
870 B
TypeScript
import { QuansyncInputObject, QuansyncFn, QuansyncGeneratorFn, QuansyncOptions } from './types.mjs';
|
|
export { QuansyncAwaitableGenerator, QuansyncGenerator, QuansyncInput } from './types.mjs';
|
|
|
|
/**
|
|
* This function is equivalent to `quansync` from main entry
|
|
* but accepts a fake argument type of async functions.
|
|
*
|
|
* This requires to be used with the macro transformer `unplugin-quansync`.
|
|
* Do NOT use it directly.
|
|
*
|
|
* @internal
|
|
*/
|
|
declare const quansync: {
|
|
<Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;
|
|
<Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return> | ((...args: Args) => Promise<Return> | Return), options?: QuansyncOptions): QuansyncFn<Return, Args>;
|
|
};
|
|
|
|
export { QuansyncFn, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions, quansync };
|