import type { Remotes } from '../../Remotes'; import type { Component } from '@toa.io/core'; import type { Output } from '../../Directive'; import type { Directive, Input } from './types'; export declare class Store implements Directive { readonly targeted = false; private readonly accept; private readonly workflow; private readonly discovery; private readonly remotes; private readonly components; private storage; constructor(options: Options | null, discovery: Promise, remotes: Remotes); apply(storage: string, request: Input): Promise; private reply; private throw; /** * Execute workflow units sequentially, steps within a unit in parallel. * Yield results as soon as they come. * * If you need to change this, it may take a while. */ private execute; private call; private discover; } type Unit = Record; type Workflow = Unit[]; interface Options { accept: string | string[]; workflow: Workflow | Unit; } export {};