1+ export interface IBootstrapper {
2+ register ( ) : void ;
3+ }
14export interface ILastReferenceIdManager {
25 getLast ( ) : string ;
36 clearLast ( ) : void ;
@@ -312,10 +315,16 @@ export declare class SubmissionMethodPlugin implements IEventPlugin {
312315 name : string ;
313316 run ( context : EventPluginContext ) : Promise < any > ;
314317}
315- export declare class ConsoleLog implements ILog {
316- info ( message : any ) : void ;
317- warn ( message : any ) : void ;
318- error ( message : any ) : void ;
318+ export declare class NodeSubmissionClient implements ISubmissionClient {
319+ submit ( events : IEvent [ ] , config : Configuration ) : Promise < SubmissionResponse > ;
320+ submitDescription ( referenceId : string , description : IUserDescription , config : Configuration ) : Promise < SubmissionResponse > ;
321+ getSettings ( config : Configuration ) : Promise < SettingsResponse > ;
322+ private getResponseMessage ( msg ) ;
323+ private sendRequest ( method , host , path , data ?) ;
324+ }
325+ export declare class NodeBootstrapper implements IBootstrapper {
326+ register ( ) : void ;
327+ private isNode ( ) ;
319328}
320329export declare class DefaultSubmissionClient implements ISubmissionClient {
321330 submit ( events : IEvent [ ] , config : Configuration ) : Promise < SubmissionResponse > ;
@@ -325,3 +334,13 @@ export declare class DefaultSubmissionClient implements ISubmissionClient {
325334 private createRequest ( method , url ) ;
326335 private sendRequest ( method , url , data ?) ;
327336}
337+ export declare class WindowBootstrapper implements IBootstrapper {
338+ register ( ) : void ;
339+ private getDefaultsSettingsFromScriptTag ( ) ;
340+ private handleWindowOnError ( ) ;
341+ }
342+ export declare class ConsoleLog implements ILog {
343+ info ( message : any ) : void ;
344+ warn ( message : any ) : void ;
345+ error ( message : any ) : void ;
346+ }
0 commit comments