import { CommandBarClientSDK } from '../../internal/src/client/CommandBarClientSDK'; export type IInitOptions = { debug?: boolean; environment?: string; version?: string; config?: any; nonce?: string; }; /** Additional foobar init options */ export declare const SUPPORTED_FOOBAR_INIT_DEPLOYMENT_OPTIONS: readonly ["dev", "labs", "prod"]; export type IInitOptionsFoobar = IInitOptions & { deployment?: (typeof SUPPORTED_FOOBAR_INIT_DEPLOYMENT_OPTIONS)[number]; disable_analytics?: boolean; }; declare global { interface Window { CommandBar: CommandBarClientSDK; } } /** * Initializes CommandBar, mounting it to the document body. This will **not** make CommandBar available right away. * You must use `window.CommandBar.boot('user')` to identify the end user first. * * All SDK methods (including `window.CommandBar.boot`) will be available immediately after calling this function. * * Try to ensure that this is executed as close to your app's entrypoint as possible. Calling this function more than * once will result in undefined behavior. * * @param {string} orgID Your organization ID, which can be found in the dashboard at app.commandbar.com. * @param {IInitOptionsFoobar} [initOptions] Options that change how the Bar configuration is fetched; see IInitOptionsFoobar for details */ export declare const init: (orgID: string, initOptions?: IInitOptionsFoobar) => Promise; export default init; //# sourceMappingURL=types.d.ts.map