import { Command } from 'commander'; import type { GlobalOptions } from '../types.js'; import type { SourceFilter, SourceLimits } from '../local-source.js'; export declare const WEBSITE_KIND = "website"; /** Mirrors backend/code_sandbox_light_git/website_projects.py MAX_BUNDLE_*. */ export declare const WEBSITE_LIMITS: SourceLimits; /** Mirrors backend/genspark_tool_cli/website_router.py MAX_*_CHARS. */ export declare const WEBSITE_TEXT_LIMITS: { name: number; description: number; message: number; }; /** * A built site is uploaded as-is: ordinary assets such as `sys/`, `proc/`, * `build.log` or a Keynote `deck.key` are kept (the source-checkout filter * would drop them, and a whole-site update would then delete them remotely). * Only tooling directories are skipped (and reported). Credential homes * (`.ssh`, `.aws`, `.config`, …) at any depth, `.env*` names, credential * files and anything holding a PEM private key stop the upload. */ export declare const websiteSourceFilter: SourceFilter; /** * The bundled skill: /gated-skills/gsk-website/SKILL.md — outside * the shared skills/ tree, so only a CLI that has these commands carries it. */ export declare function websiteSkillPath(): string; /** Reject inputs the server would refuse, before packaging and uploading. */ export declare function checkWebsiteSource(directory: string): void; /** * A --project-id typed on the command line: on the subcommand, the `website` * group, or the root (`gsk --project-id A website update`), nearest first — * the same "tool-level beats root" order getGlobalOptions applies. Values * that came from GSK_PROJECT_ID or the global config never appear here * because Commander records them under no 'cli' source. */ export declare function explicitProjectId(command: Command): string | undefined; /** Explicit --project-id, else this folder's website binding; never env or global config. */ export declare function selectWebsiteProject(options: GlobalOptions, explicit?: string, cwd?: string): string; /** `HTTP : ` for a structured server refusal. */ export declare function describeServerError(error: unknown): string; export interface WebsiteProject extends Record { project_id: string; preview_url?: string; } /** Every command names the project, so it works from any directory. */ export declare function nextSteps(project: WebsiteProject): string; export declare function registerWebsiteCommands(program: Command, getOptions: () => GlobalOptions, callerProjectId: () => string | undefined): Command; //# sourceMappingURL=website.d.ts.map