import { BaseItem } from '../item/index.js'; import { SequenceUtil } from './baseUtil.js'; import { ProcessId } from '../managers/index.js'; import type { SequenceItemType, SchemaItemNames, KismetVariableValue } from './types.js'; import type { SequenceViewOptions, SequenceOptions, SequenceBaseConstructorOptions, layoutOptions } from './options.js'; export declare const DefaultLayoutOptions: Required; export type SequenceItemResolvable = string | ProcessId | SequenceItemType; export type SequenceResolvable = Sequence | SequenceItemResolvable; /** * Class for a kismet sequence */ export declare class Sequence extends BaseItem { name: string; /** * The location of focus when opening the sequence */ defaultView: Required; readonly id: ProcessId; /** * The id of the attached project to this sequence */ readonly project?: ProcessId; /** * Whether this sequence can be edited */ enabled: boolean; /** * The parent sequence of this sequence. */ parentSequence: string; /** * The items that are added to this sequence */ items: (SequenceItemType | Sequence)[]; /** * The subsequences that are added in this sequence */ get subSequences(): Sequence[]; private kismet; private positionManager; private readonly mainSequence; hasBreakpoint: boolean; constructor(options?: SequenceBaseConstructorOptions); private get rawData(); static formatSequenceReference(name: string): string; static get DefaultFormattedSequenceName(): string; get util(): SequenceUtil; get linkId(): string; addItem(item: SequenceItemType, overwriteSequence?: boolean): this; addItems(items: SequenceItemType[]): this; addSubSequence({ name, objects, layout, defaultView, }: SequenceOptions): { subSequence: Sequence; sequence: Sequence; }; /** * Clear all breakpoints on items in this sequence * @param includeSubsequences Whether to clear breakpoints in subsequences (default false) */ clearAllBreakpoints(includeSubsequences?: boolean): this; /** * Resolve an id to an item in this sequence * @param id The id to search */ resolveId(id: string | ProcessId): SequenceItemType | Sequence | null; resolve(item: SequenceResolvable): SequenceItemType | Sequence | null; /** * Set / remove a breakpoint on this sequence */ setBreakpoint(enabled: boolean): this; /** * Disable this sequence */ setDisabled(): this; /** * Set a new name for this sequence. * Cannot be set if this sequence is the main sequence. * @param name */ setName(name: string): this; /** * Set view options for this sequence * @param options The default view options */ setView(options: SequenceViewOptions): this; update(item: Sequence | SequenceItemType): void; updateItem(item: SequenceResolvable, updatedItem: Sequence | SequenceItemType): void; updateItems(items: [SequenceResolvable, SequenceItemType | Sequence][]): void; toJSON(): Record; toString(): string; } //# sourceMappingURL=base.d.ts.map