import { ExecutionContext } from "./user-context.js";
import "@databricks/sdk-experimental";

//#region src/context/execution-context.d.ts

/**
 * Get the current execution context.
 *
 * - If running inside a user context (via asUser), returns the user context
 * - Otherwise, returns the service context
 *
 * @throws Error if ServiceContext is not initialized
 */
declare function getExecutionContext(): ExecutionContext;
//#endregion
export { getExecutionContext };
//# sourceMappingURL=execution-context.d.ts.map