import type { ToCloudAttachable, TokenStrategie } from "@fireproof/core-types-protocols-cloud"; import { Attached, ImgFile, UseFireproof, UseFPConfig, type Database, type UseFpToCloudParam } from "@fireproof/use-fireproof"; import { Vibe } from "./contexts/VibeContext.js"; import { callAI } from "call-ai"; export * from "./contexts/VibeContext.js"; export { ImgFile }; export { fireproof, type FireproofOpts } from "./fireproof-node.js"; export type * as Fireproof from "@fireproof/use-fireproof"; export declare const vibesEnvSchema: import("arktype/internal/variants/object.ts").ObjectType<{ FPCLOUD_URL: string; DASHBOARD_URL: string; VIBES_DIY_STYLES_URL: string; }, {}>; export type VibesEnv = typeof vibesEnvSchema.infer; export declare const vibeEnv: import("arktype/internal/variants/object.ts").ObjectType, {}>; export type VibeEnv = typeof vibeEnv.infer; export declare const vibeBindings: import("arktype/internal/variants/object.ts").ObjectType<{ appSlug: string; userSlug: string; fsId: string; groupId?: string | undefined; }, {}>; export type VibeBindings = typeof vibeBindings.infer; export declare const vibesDiyMountParams: import("arktype/internal/variants/object.ts").ObjectType<{ bindings: { appSlug: string; userSlug: string; fsId: string; groupId?: string | undefined; }; env: { [x: string]: string; FPCLOUD_URL: string; DASHBOARD_URL: string; VIBES_DIY_STYLES_URL: string; }; }, {}>; export type VibesDiyMountParams = typeof vibesDiyMountParams.infer; interface ToCloudWithClerkOpts extends UseFpToCloudParam { readonly env: VibesEnv; readonly fpCloudStrategie?: TokenStrategie; } export declare function injectDefaultVibesCtx(ctx: Vibe): void; export declare function toCloud(iopts?: ToCloudWithClerkOpts): ToCloudAttachable; export interface AttachState { readonly state: "detached" | "attaching" | "attached" | "detaching" | "error"; readonly error?: Error; readonly attach?: Attached; } export interface UseVibesFireproof extends UseFireproof { readonly doAttach: () => void; readonly doDetach: () => void; readonly attachState: AttachState; readonly syncEnabled?: boolean; } export declare function useFireproof(nameOrDatabase: string | Database, config?: UseFPConfig): UseVibesFireproof; export { callAI, callAI as callAi }; export type * as CallAI from "call-ai"; export { useThemeDetection } from "./hooks/useThemeDetection.js"; export { useMobile } from "./hooks/useMobile.js"; export type { ImgVibesClasses } from "@vibes.diy/use-vibes-types"; export { base64ToFile } from "./utils/base64.js"; export { constructVibesDatabaseName } from "./utils/databaseName.js"; export type { ImageDocument, PartialImageDocument, UseImgVibesOptions, UseImgVibesResult } from "@vibes.diy/use-vibes-types"; export type { UseVibesOptions, UseVibesResult, VibeDocument } from "@vibes.diy/use-vibes-types"; export { useVibes } from "./hooks/vibes-gen/index.js"; export { useViewer, type UseViewerResult } from "@vibes.diy/vibe-runtime"; export { getAppSlug, getInstanceId, getFullAppIdentifier, isDevelopmentEnvironment, isProductionEnvironment, generateRandomInstanceId, generateFreshDataUrl, generateRemixUrl, generateInstallId, } from "./utils/appSlug.js"; export { VibeContextProvider, useVibeContext, VibeMetadataValidationError } from "./contexts/VibeContext.js";