import type { Asset, Breakpoint, DataSource, Deployment, Instance, Page, Prop, Resource, StyleDecl, StyleDeclKey, StyleSource, StyleSourceSelection } from "@webstudio-is/sdk"; import type { SerializedPages } from "@webstudio-is/project-migrations/pages"; export type Data = { page: Page; pages: Array; build: { id: string; projectId: string; version: number; createdAt: string; updatedAt: string; pages: SerializedPages; breakpoints: [Breakpoint["id"], Breakpoint][]; styles: [StyleDeclKey, StyleDecl][]; styleSources: [StyleSource["id"], StyleSource][]; styleSourceSelections: [Instance["id"], StyleSourceSelection][]; props: [Prop["id"], Prop][]; instances: [Instance["id"], Instance][]; dataSources: [DataSource["id"], DataSource][]; resources: [Resource["id"], Resource][]; deployment?: Deployment | undefined; }; assets: Array; origin?: string; }; export declare const loadProjectDataByBuildId: (params: { buildId: string; origin: string; headers?: Record; } & ({ seviceToken: string; } | { authToken: string; })) => Promise; export declare const loadProjectDataByProjectId: (params: { projectId: string; origin: string; authToken: string; headers?: Record; }) => Promise; export declare const parseBuilderUrl: (urlStr: string) => { projectId: undefined; sourceOrigin: string; } | { projectId: string; sourceOrigin: string; };