import 'rollup-plugin-inject-process-env'; export interface SearchState { /** * Current query in the input box */ readonly query: string; /** * Current server context */ readonly context?: { [key: string]: string; }; /** * The query that was used to retrieve the response. * * Either this or responseIntentId should be set. */ readonly responseQuery?: string; /** * The intentId that was used to retrieve the response. * * Either this or responseQuery should be set. */ readonly responseIntentId?: string; readonly active: boolean; readonly minimized: boolean; /** * Determines if the request should be sent to the server * * It is flipped to false after it has been requested and to true when the form closes */ readonly sendRequest: boolean; }