one
Version:
One is a React framework for web, iOS, and Android apps.
8 lines • 369 B
TypeScript
export type AppIntentHandler = (text: string | null) => string | Promise<string>;
declare function defineAction(identifier: string, handler: AppIntentHandler): () => void;
declare const nativeAppIntents: Readonly<{
defineAction: typeof defineAction;
}>;
export declare const AppIntents: typeof nativeAppIntents;
export {};
//# sourceMappingURL=index.native.d.ts.map