import { type BlueprintApplicationConfig, type BlueprintApplicationResource, type BlueprintAssetSourceViewConfig, type BlueprintPanelViewConfig, type BlueprintTileViewConfig, type BlueprintWebWorker, type BlueprintWebWorkerConfig, type BlueprintWindowViewConfig } from '../index.js';
/**
 * Defines a window view — the navigable, full-page view of an application.
 * An application may declare at most one window view.
 *
 * ```ts
 * defineWindowView({
 *   name: 'main',
 *   title: 'Design Retro',
 *   src: './src/windows/main.tsx',
 * })
 * ```
 *
 * @example With dock placement
 * ```ts
 * defineWindowView({
 *   name: 'main',
 *   title: 'Design Retro',
 *   src: './src/windows/main.tsx',
 *   dock: {group: 'applications', order: 10},
 * })
 * ```
 * @param config The window view configuration
 * @public
 * @beta Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.
 * @category Definers
 * @expandType BlueprintWindowViewConfig
 * @returns The window view declaration
 * @hidden
 */
export declare function defineWindowView(config: Omit<BlueprintWindowViewConfig, 'surface' | 'type'>): BlueprintWindowViewConfig;
/**
 * Defines a panel view — renders in the dock.
 *
 * ```ts
 * definePanelView({
 *   name: 'side',
 *   title: 'Favorites',
 *   src: './src/panels/main.tsx',
 * })
 * ```
 * @param config The panel view configuration
 * @public
 * @beta Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.
 * @category Definers
 * @expandType BlueprintPanelViewConfig
 * @returns The panel view declaration
 * @hidden
 */
export declare function definePanelView(config: Omit<BlueprintPanelViewConfig, 'surface' | 'type'>): BlueprintPanelViewConfig;
/**
 * Defines an asset source view — contributes an asset source.
 *
 * ```ts
 * defineAssetSourceView({
 *   name: 'image-picker',
 *   title: 'Image Picker',
 *   src: './src/asset-sources/image-picker.tsx',
 * })
 * ```
 * @param config The asset source view configuration
 * @public
 * @beta Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.
 * @category Definers
 * @expandType BlueprintAssetSourceViewConfig
 * @returns The asset source view declaration
 * @hidden
 */
export declare function defineAssetSourceView(config: Omit<BlueprintAssetSourceViewConfig, 'surface' | 'type'>): BlueprintAssetSourceViewConfig;
/**
 * Defines a tile view — docks on the dashboard with a footprint `size`.
 *
 * ```ts
 * defineTileView({
 *   name: 'jump-back-in',
 *   title: 'Main Tile',
 *   src: './src/tiles/jump-back-in.tsx',
 *   size: 'banner',
 * })
 * ```
 * @param config The tile view configuration
 * @public
 * @beta Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.
 * @category Definers
 * @expandType BlueprintTileViewConfig
 * @returns The tile view declaration
 * @hidden
 */
export declare function defineTileView(config: Omit<BlueprintTileViewConfig, 'surface' | 'type'>): BlueprintTileViewConfig;
/**
 * Defines a background web worker an application runs.
 *
 * ```ts
 * defineWebWorker({
 *   name: 'background-refresh',
 *   title: 'Background Worker',
 *   src: './src/workers/background-refresh.ts',
 * })
 * ```
 * @param config The web worker configuration
 * @public
 * @beta Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.
 * @category Definers
 * @expandType BlueprintWebWorkerConfig
 * @returns The web worker declaration
 * @hidden
 */
export declare function defineWebWorker(config: BlueprintWebWorkerConfig): BlueprintWebWorker;
/**
 * Defines an application.
 *
 * @remarks
 * Views are authored in `views` and web workers in `webWorkers`, mirroring the
 * emitted resource. Views are discriminated by `surface` (`window`, `panel`,
 * `asset-source`, `tile`) and transformed to the emitted view `type` the
 * backend expects. An application must declare at least one view of any
 * surface, and at most one `window` view. Every view and web worker `src` is
 * resolved relative to `root`. The `slug` defaults to the resource `name`.
 *
 * ```ts
 * defineApplication({
 *   name: 'design-retro',
 *   title: 'Design Retro',
 *   root: './apps/design-retro',
 *   views: [
 *     defineWindowView({name: 'main', title: 'Design Retro', src: './src/windows/main.tsx'}),
 *   ],
 * })
 * ```
 *
 * @example With views and web workers
 * ```ts
 * defineApplication({
 *   name: 'design-retro',
 *   title: 'Design Retro',
 *   root: './apps/design-retro',
 *   slug: 'design-retro',
 *   icon: './src/icons/app-icon.svg',
 *   visibility: 'unlisted',
 *   views: [
 *     defineWindowView({
 *       name: 'main',
 *       title: 'Design Retro',
 *       src: './src/windows/main.tsx',
 *       dock: {group: 'applications', order: 10},
 *     }),
 *     definePanelView({name: 'side', title: 'Favorites', src: './src/panels/main.tsx'}),
 *     defineAssetSourceView({name: 'image-picker', title: 'Image Picker', src: './src/asset-sources/image-picker.tsx'}),
 *     defineTileView({name: 'jump-back-in', title: 'Main Tile', src: './src/tiles/jump-back-in.tsx', size: 'banner'}),
 *   ],
 *   webWorkers: [
 *     defineWebWorker({name: 'background-refresh', title: 'Background Worker', src: './src/workers/background-refresh.ts'}),
 *   ],
 * })
 * ```
 * @param config The application configuration
 * @public
 * @beta Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.
 * @category Definers
 * @expandType BlueprintApplicationConfig
 * @returns The application resource
 * @hidden
 */
export declare function defineApplication(config: BlueprintApplicationConfig): BlueprintApplicationResource;
