import type { AttributeFilter, ListFilter, WorkflowState } from '../types.ts'; import type { EngineInternals } from './internals.ts'; /** Stream decoded workflow states that match a list filter. */ export declare function streamMatchingWorkflowStates(internals: EngineInternals, filter?: ListFilter): AsyncGenerator; /** Resolve indexed workflow IDs implied by lineage, schedule, tag, and search-attribute filters. */ export declare function resolveConstrainedIds(internals: EngineInternals, filter: ListFilter | undefined, normalizedTagFilters: readonly string[] | undefined): Promise | null>; /** Query a single search-attribute index filter and return matching workflow IDs. */ export declare function queryAttributeIndex(internals: EngineInternals, filter: AttributeFilter): Promise>; /** Resolve the durable reverse index from one concrete parent run to its direct children. */ export declare function queryChildWorkflowIndex(internals: EngineInternals, parentWorkflowId: string, parentWorkflowExecutionToken: string | undefined): Promise>; /** Resolve the durable reverse index from a schedule id to launched workflow ids. */ export declare function queryScheduleRunIndex(internals: EngineInternals, scheduleId: string): Promise>; export declare function isTopLevelWorkflowStateKey(key: string): boolean;