/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { IExecuteContext, TaskConfig } from "@workglow/task-graph"; import { CreateWorkflow, Task } from "@workglow/task-graph"; import type { FromSchema, TypedArraySchemaOptions } from "@workglow/util/schema"; declare const inputSchema: { readonly type: "object"; readonly properties: { readonly vectors: { readonly type: "array"; readonly items: { readonly type: "array"; readonly format: "TypedArray"; readonly title: "Typed Array"; readonly description: "A typed array (Float32Array, Int8Array, etc.)"; }; readonly title: "Vectors"; readonly description: "Array of vectors: vectors[0] / vectors[1] / vectors[2] / ..."; }; }; readonly required: readonly ["vectors"]; readonly additionalProperties: false; }; declare const outputSchema: { readonly type: "object"; readonly properties: { readonly result: { readonly type: "array"; readonly format: "TypedArray"; readonly title: "Typed Array"; readonly description: "A typed array (Float32Array, Int8Array, etc.)"; }; }; readonly required: readonly ["result"]; readonly additionalProperties: false; }; export type VectorDivideTaskInput = FromSchema; export type VectorDivideTaskOutput = FromSchema; export declare class VectorDivideTask extends Task { static readonly type = "VectorDivideTask"; static readonly category = "Vector"; static title: string; static description: string; static inputSchema(): { readonly type: "object"; readonly properties: { readonly vectors: { readonly type: "array"; readonly items: { readonly type: "array"; readonly format: "TypedArray"; readonly title: "Typed Array"; readonly description: "A typed array (Float32Array, Int8Array, etc.)"; }; readonly title: "Vectors"; readonly description: "Array of vectors: vectors[0] / vectors[1] / vectors[2] / ..."; }; }; readonly required: readonly ["vectors"]; readonly additionalProperties: false; }; static outputSchema(): { readonly type: "object"; readonly properties: { readonly result: { readonly type: "array"; readonly format: "TypedArray"; readonly title: "Typed Array"; readonly description: "A typed array (Float32Array, Int8Array, etc.)"; }; }; readonly required: readonly ["result"]; readonly additionalProperties: false; }; execute(input: Input, _context: IExecuteContext): Promise; } declare module "@workglow/task-graph" { interface Workflow { vectorDivide: CreateWorkflow; } } export {};