import { default as React } from 'react'; import { ManagedPublishConfiguration } from './components/ApplicationDesigner'; import { SourceSyncConfiguration } from './components/AskFeltDB'; import { StateFirstDB } from '@feltdb/core'; export interface StudioAppProps { db?: StateFirstDB; remoteUrl?: string; token?: string; namespace?: string; deploymentRuntime?: string; applicationUrl?: string; applicationId?: string; environment?: string; developmentSession?: Record; managedPublish?: ManagedPublishConfiguration; sourceSync?: SourceSyncConfiguration; onConnect?: (url: string, token: string) => void; } export interface ApplicationConnectionNoticeProps { registration?: { namespace?: string; }; } export type StudioConnectionResolution = { source: 'explicit-authority' | 'configured-authority'; authorityUrl: string; } | { source: 'injected'; authorityUrl: ''; } | { source: 'browser'; authorityUrl: ''; }; export declare function resolveStudioConnection(input: { explicitAuthority?: string | null; configuredAuthority?: string | null; injected?: boolean; }): StudioConnectionResolution; /** A registration proves the application is connected; it does not identify * the JavaScript environment in which the application itself executes. */ export declare function ApplicationConnectionNotice({ registration }: ApplicationConnectionNoticeProps): React.JSX.Element; export declare function StudioApp({ db, remoteUrl, token, namespace, deploymentRuntime, applicationUrl, applicationId, environment, developmentSession, managedPublish, sourceSync, onConnect }: StudioAppProps): React.JSX.Element; export default StudioApp; //# sourceMappingURL=app.d.ts.map