import { ServiceManager } from '@jupyterlab/services';
/**
 * Creates a ServiceManager configured for Datalayer.
 *
 * This function requests a new kernel from Datalayer's platform and
 * returns a configured ServiceManager that connects to the allocated
 * Jupyter server instance.
 *
 * @param environmentName - The name of the Datalayer environment to use
 * @param credits - The credit limit for this kernel session
 * @returns A configured ServiceManager instance
 * @throws Error if the kernel request fails or configuration is missing
 *
 * @example
 * ```typescript
 * const serviceManager = await createDatalayerServiceManager('ai-agents-env', 100);
 * await serviceManager.ready;
 * // Use the service manager with notebooks
 * ```
 */
export declare const createDatalayerServiceManager: (environmentName?: string, credits?: number) => Promise<ServiceManager.IManager>;
export default createDatalayerServiceManager;
