import { BlockService } from '@blockeditor/block-std';
import { queryUrlDataFromAffineWorker, setLinkPreviewEndpoint, } from './utils.js';
export class BookmarkService extends BlockService {
    constructor() {
        super(...arguments);
        this.queryUrlData = (url) => {
            return queryUrlDataFromAffineWorker(url);
        };
        this.setLinkPreviewEndpoint = setLinkPreviewEndpoint;
    }
}
//# sourceMappingURL=bookmark-service.js.map