import type { ToolcraftInitialState, ToolcraftState } from "../state/types"; export type ToolcraftDefaultResource = Readonly<{ ref: string; path: string; sha256: string; byteLength: number; contentType: string; dependencies: readonly string[]; durable: boolean; }>; export type ToolcraftWorkspaceDefaults = Readonly<{ version: 2; appId: string; state: Pick & Partial>; resources: readonly ToolcraftDefaultResource[]; theme: "dark" | "light" | "system"; }>; export type ToolcraftResolvedWorkspaceDefaults = Readonly<{ initialState: ToolcraftInitialState; resources: readonly ToolcraftDefaultResource[]; theme: ToolcraftWorkspaceDefaults["theme"]; }>;