import type { Sequence } from './base.js'; import type { KismetVariableValue, SequenceItemType } from './types.js'; export declare class SequenceUtil { private sequence; constructor(sequence: Sequence); protected toRecord(items: (SequenceItemType | Sequence)[], properties: Record<'ObjPosX' | 'ObjPosY' | 'ObjectArchetype' | 'DrawWidth' | 'DrawHeight' | 'ObjInstanceVersion', string | number>): [string, KismetVariableValue][]; /** * Find the first connected event that is the input of a node * @param actionId The id of the node to find the event for * @param event The event information * @param event.connectionName The output name of the link from the event node */ findConnectedEvent(actionId: string, event: { id: string; connectionName?: string; }): SequenceItemType | undefined; /** * Get all items in this sequence with the same class * @param item The item to use as reference */ filterByClassName(item: SequenceItemType | Sequence): (SequenceItemType | Sequence)[]; /** * Returns the index of the first occurrence of an item in this sequence, or -1 if it is not present. * @param id The link id of the item to search */ indexOf(id: string): number; /** * List all connected items to an item in this sequence * @param itemId The link id of the item * @param outputConnection The output connection name to find only items to this link */ listConnectedItems(itemId: string, outputConnection?: string): string[]; } //# sourceMappingURL=baseUtil.d.ts.map