import { ScriptableObject } from "../imports/ScriptableObject"; import { GlideRecord } from "./GlideRecord"; import { GlideXMLParameters } from "./GlideXMLParameters"; export declare class SncProbe { constructor(); constructor(probe: GlideRecord); constructor(probe: GlideRecord, values: any); constructor(probe: GlideRecord, values: any, midsConfig: any); static get(probeName: string): SncProbe; static get(probeName: string, values: any): SncProbe; static getById(sys_id: string): SncProbe; static getById(sys_id: string, values: any): SncProbe; static createProbeResponse(eccQGr: GlideRecord): SncProbe; static getJsonPayload(eccQGr: GlideRecord): ScriptableObject; static probeParamIsNotEmptyMap(probeParameterValue: string): boolean; getEccQueueId(): string; getEccQueueRecord(): GlideRecord; getName(): string; setName(name: string): void; setProbeName(name: string): void; getSource(): string; setSource(source: string): void; getTopic(): string; setTopic(topic: string): void; setType(type: string): void; getOutput(): string; getResult(): Element; getError(): string; getResultCode(): number; getResultError(): string; addParameters(probeSysId: string): void; addTextNodeParameter(name: string, value: string): void; addParameter( name: string, value: string, addAsTextNodeParameter: boolean ): void; addParameter(name: string, value: string): void; addEncryptedParameter(name: string, value: string): void; addEncryptedParameter( name: string, valueFormat: string, ...valueArgs: string[] ): void; hasParameter(name: string): boolean; getParameter(name: string): string; getBooleanParameter(key: string, defaultValue: boolean): boolean; getParameters(): GlideXMLParameters; getParametersMap(): { [key: string]: string }; copy(source: SncProbe): void; copy(source: SncProbe, overwrite: boolean): void; insert(agentName: string): string; create(agentName: string): string; create(agentName: string, sensorECCID: string): string; createForMidServer(agentName: string, sensorECCID: string): string; createForAutoSelectMidServer( applicationName: string, capabilities: any, sensorECCID: string ): string; createForAutoSelectStartingWithMid( applicationName: string, capabilities: any, sensorECCID: string, agentName: string ): string; createForAutoSelectedShazzam( applicationName: string, selectableMids: any[] ): string; createForCluster( applicationName: string, clusterID: string, sensorECCID: string ): string; createForCluster( applicationName: string, clusterID: string, caps: any, sensorECCID: string ): string; createForClusterStartingWithMid( agentName: string, applicationName: string, clusterId: string, sensorECCID: string ): string; setOutput(str: string): void; getAgent(): string; getCorrelator(): string; setCorrelator(correlator: string): void; getId(): string; getPayload(): string; getDocument(): XMLDocument; getW3CDocument(): Document; getJson(): ScriptableObject; expose(): void; setMultiProbe(multiProbe: boolean): void; setMultiProbeDoc(multiProbeDoc: Document): void; setEccPriority(p: string): void; setMidSelectDetails(details: string): void; getMidSelectDetails(): string; }