import type { Surface } from '@funkit/connect-core'; import type { ReactNode } from 'react'; import type { SurfaceAdapter, SurfaceContext, SurfaceControlModel } from './providers/adapter'; /** * How this surface is operated, or `undefined` when nothing can draw it. * Asked before rendering, because the two models want different chrome. */ export declare function captureControl(surface: Surface, adapters?: readonly SurfaceAdapter[]): SurfaceControlModel | undefined; /** * `adapters` are tried before the registry, for a screen that can build one * the registry cannot — the identity SDK needs the quote its capture belongs * to, which the surface itself does not carry. */ export declare function renderCaptureSurface({ surface, adapters, ...context }: SurfaceContext & { surface: Surface; adapters?: readonly SurfaceAdapter[]; }): ReactNode; //# sourceMappingURL=renderCaptureSurface.d.ts.map