22/* eslint-disable */
33/** Client for observation-tools */
44export declare class Client {
5- beginExecution ( name : string ) : ExecutionHandle
5+ beginExecution ( name : string ) : ExecutionHandle ;
66 /**
77 * Begin a new execution with a specific ID (for testing)
88 *
99 * This allows tests to create an execution with a known ID, enabling
1010 * navigation to the execution URL before the execution is uploaded.
1111 */
12- beginExecutionWithId ( id : string , name : string ) : ExecutionHandle
12+ beginExecutionWithId ( id : string , name : string ) : ExecutionHandle ;
1313}
1414
1515/** Builder for Client */
1616export declare class ClientBuilder {
1717 /** Create a new client builder */
18- constructor ( )
18+ constructor ( ) ;
1919 /** Set the base URL for the server */
20- setBaseUrl ( url : string ) : void
20+ setBaseUrl ( url : string ) : void ;
2121 /** Set the API key for authentication */
22- setApiKey ( apiKey : string ) : void
22+ setApiKey ( apiKey : string ) : void ;
2323 /** Build the client */
24- build ( ) : Client
24+ build ( ) : Client ;
2525}
2626
2727/** Handle to an execution that can be used to send observations */
2828export declare class ExecutionHandle {
2929 /** Get the execution ID as a string */
30- get idString ( ) : string
30+ get idString ( ) : string ;
3131 /** Get the URL to the execution page */
32- get url ( ) : string
32+ get url ( ) : string ;
3333 /**
3434 * Create and send an observation
3535 *
@@ -41,7 +41,14 @@ export declare class ExecutionHandle {
4141 * * `source_line` - Optional source line number
4242 * * `metadata` - Optional metadata as an array of [key, value] pairs
4343 */
44- observe ( name : string , payloadJson : string , labels ?: Array < string > | undefined | null , sourceFile ?: string | undefined | null , sourceLine ?: number | undefined | null , metadata ?: Array < Array < string > > | undefined | null ) : string
44+ observe (
45+ name : string ,
46+ payloadJson : string ,
47+ labels ?: Array < string > | undefined | null ,
48+ sourceFile ?: string | undefined | null ,
49+ sourceLine ?: number | undefined | null ,
50+ metadata ?: Array < Array < string > > | undefined | null ,
51+ ) : string ;
4552}
4653
4754/**
@@ -50,4 +57,4 @@ export declare class ExecutionHandle {
5057 * This allows tests to generate an execution ID before creating the execution,
5158 * enabling navigation to the execution URL before the execution is uploaded.
5259 */
53- export declare function generateExecutionId ( ) : string
60+ export declare function generateExecutionId ( ) : string ;
0 commit comments