export type KismetVariableLinkConnection = string; export type KismetConnectionType = 'input' | 'variable' | 'output'; export type KismetConnection = ItemConnection | VariableConnection; export interface KismetConnections extends Record { input: ItemConnection[]; output: ItemConnection[]; variable: VariableConnection[]; } export interface BaseKismetConnectionOptions { Draw: number; OverrideDelta: number; } export declare class BaseKismetConnection { private baseConnection; protected readonly type: KismetConnectionType; protected kismet: BaseKismetConnectionOptions; protected input: string; name: string; connectionIndex: number; links: string[] | null; linkedIds: string[]; bHidden: boolean; constructor(options: { input: string; type: KismetConnectionType; index?: number; kismetOptions?: BaseKismetConnectionOptions; extends?: boolean; }); static convertLink(type: KismetConnectionType, input: string, index?: number): ItemConnection | VariableConnection | undefined; static convertInput(input: string): Record; private get typeName(); protected format(keys?: string[]): string; /** * Whether the socket currently is being used by having at least one connection with another socket */ get isUsed(): boolean; /** * Add a new socket link connection * @param linkId The linkId of the (other) item to connect to * @param index The index of the input variable socket that will be connected to. * Empty or 0 if the socket is the first input socket on the item * @param hidden Change the hidden state of this socket */ addLink(linkId: string, index?: number, hidden?: boolean): this; breakLinkTo(linkId: string): this; breakAllLinks(): this; isBaseConnection(): this is BaseKismetConnection; isItemConnection(): this is ItemConnection; isVariableConnection(): this is VariableConnection; setHidden(hidden: boolean): this; prefix(index?: number): string; get value(): string; toString(index?: number): string; } export declare class VariableConnection extends BaseKismetConnection { expectedType: string; PropertyName: string; bAllowAnyType: boolean; CachedProperty: boolean; MinVars: number; MaxVars: number; DrawX: number; bWriteable: boolean; bSequenceNeverReadsOnlyWritesToThisVar: boolean; bModifiesLinkedObject: boolean; constructor(input: string, type: KismetConnectionType, index?: number); addLink(linkId: string, index?: number, hidden?: boolean): this; isOutput(): boolean; toString(index?: number): string; } export declare class ItemConnection extends BaseKismetConnection { bHasImpulse: boolean; bDisabled: boolean; bDisabledPIE: boolean; ActivateDelay: number; LinkedOp: string; DrawY: number; constructor(input: string, type: Exclude, index?: number); static isItemConnectionType(type: string): boolean; setActivateDelay: (duration: number) => this; isInputLink(): boolean; isOutputLink(): boolean; get value(): string; toString(index?: number): string; } //# sourceMappingURL=link.d.ts.map