/** Duck-typed guard — true for any backend exposing the ObserveBackend surface. */
export function isObserveBackend(b) {
    return (!!b &&
        typeof b.captureViewport === 'function' &&
        typeof b.getPaneSize === 'function' &&
        typeof b.captureCurrentScreen === 'function');
}
//# sourceMappingURL=types.js.map