import type { VanaEnvironment } from "../core/constants.js"; export interface VanaConfig { privateKey: `0x${string}`; scopes: string[]; appUrl: string; dataSource?: string; environment?: VanaEnvironment; } /** * Creates a validated SDK configuration. * * All values must be passed explicitly — the SDK does not read * environment variables. The calling application is responsible * for sourcing config values (e.g. from `process.env`). * * @param config - Required configuration fields. * @returns A validated {@link VanaConfig} object. * @throws {@link ConnectError} with code `CONFIG_INVALID` if any required field is missing or invalid. * * @example * ```typescript * import { createVanaConfig } from "vana-cli/server"; * * const config = createVanaConfig({ * privateKey: process.env.VANA_PRIVATE_KEY as `0x${string}`, * scopes: ["chatgpt.conversations"], * appUrl: process.env.APP_URL!, * }); * ``` */ export declare function createVanaConfig(config: { privateKey: `0x${string}`; scopes: string[]; appUrl: string; dataSource?: string; environment?: VanaEnvironment; }): VanaConfig; //# sourceMappingURL=config.d.ts.map