obsidian-typings 3.15.0 → 3.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4374,21 +4374,36 @@ export interface ElectronWindow extends BrowserWindow {
4374
4374
  devToolsWebContents: unknown;
4375
4375
  }
4376
4376
  /**
4377
- * @todo Documentation incomplete.
4377
+ * A component that renders an embedded audio file.
4378
+ *
4378
4379
  * @public
4379
4380
  * @unofficial
4380
4381
  */
4381
- export interface EmbedAudioComponent extends Component {
4382
+ export interface EmbedAudioComponent extends EmbedComponent {
4382
4383
  }
4383
4384
  /**
4384
- * @todo Documentation incomplete.
4385
+ * A component that renders an embedded canvas file.
4386
+ *
4385
4387
  * @public
4386
4388
  * @unofficial
4387
4389
  */
4388
- export interface EmbedCanvasComponent extends Component {
4390
+ export interface EmbedCanvasComponent extends EmbedComponent {
4389
4391
  }
4390
4392
  /**
4391
- * @todo Documentation incomplete.
4393
+ * The component that renders the embedded file.
4394
+ *
4395
+ * @public
4396
+ * @unofficial
4397
+ */
4398
+ export interface EmbedComponent extends Component {
4399
+ /**
4400
+ * Load the file into the component.
4401
+ */
4402
+ loadFile(): void;
4403
+ }
4404
+ /**
4405
+ * A context to configure embedding of a file.
4406
+ *
4392
4407
  * @public
4393
4408
  * @unofficial
4394
4409
  */
@@ -4425,28 +4440,32 @@ export interface EmbedContext {
4425
4440
  state?: unknown;
4426
4441
  }
4427
4442
  /**
4428
- * @todo Documentation incomplete.
4443
+ * A component that renders an embedded image file.
4444
+ *
4429
4445
  * @public
4430
4446
  * @unofficial
4431
4447
  */
4432
- export interface EmbedImageComponent extends Component {
4448
+ export interface EmbedImageComponent extends EmbedComponent {
4433
4449
  }
4434
4450
  /**
4435
- * @todo Documentation incomplete.
4451
+ * A component that renders an embedded markdown file.
4452
+ *
4436
4453
  * @public
4437
4454
  * @unofficial
4438
4455
  */
4439
- export interface EmbedMarkdownComponent extends Component {
4456
+ export interface EmbedMarkdownComponent extends EmbedComponent {
4440
4457
  }
4441
4458
  /**
4442
- * @todo Documentation incomplete.
4459
+ * A component that renders an embedded PDF file.
4460
+ *
4443
4461
  * @public
4444
4462
  * @unofficial
4445
4463
  */
4446
- export interface EmbedPdfComponent extends Component {
4464
+ export interface EmbedPdfComponent extends EmbedComponent {
4447
4465
  }
4448
4466
  /**
4449
- * @todo Documentation incomplete.
4467
+ * A registry for embeddable files components.
4468
+ *
4450
4469
  * @public
4451
4470
  * @unofficial
4452
4471
  */
@@ -4458,7 +4477,7 @@ export interface EmbedRegistry extends Events {
4458
4477
  /**
4459
4478
  * Get the embed constructor for a specific file type.
4460
4479
  */
4461
- getEmbedCreator(file: TFile): EmbeddableConstructor | null;
4480
+ getEmbedCreator(file: TFile): EmbedCreator | null;
4462
4481
  /**
4463
4482
  * Check whether a file extension has a registered embed constructor.
4464
4483
  */
@@ -4466,11 +4485,11 @@ export interface EmbedRegistry extends Events {
4466
4485
  /**
4467
4486
  * Register an embed constructor for a specific file extension.
4468
4487
  */
4469
- registerExtension(extension: string, embedCreator: EmbeddableConstructor): void;
4488
+ registerExtension(extension: string, embedCreator: EmbedCreator): void;
4470
4489
  /**
4471
4490
  * Register an embed constructor for a list of file extensions.
4472
4491
  */
4473
- registerExtensions(extensions: string[], embedCreator: EmbeddableConstructor): void;
4492
+ registerExtensions(extensions: string[], embedCreator: EmbedCreator): void;
4474
4493
  /**
4475
4494
  * Unregister an embed constructor for a specific file extension.
4476
4495
  */
@@ -4481,66 +4500,116 @@ export interface EmbedRegistry extends Events {
4481
4500
  unregisterExtensions(extensions: string[]): void;
4482
4501
  }
4483
4502
  /**
4484
- * @todo Documentation incomplete.
4503
+ * A record of embeddable file extensions and their creators.
4504
+ *
4485
4505
  * @public
4486
4506
  * @unofficial
4487
4507
  */
4488
- export interface EmbedRegistryEmbedByExtensionRecord extends Record<string, EmbeddableConstructor> {
4489
- /** @todo Documentation incomplete. */
4508
+ export interface EmbedRegistryEmbedByExtensionRecord extends Record<string, EmbedCreator> {
4509
+ /**
4510
+ * Creates an embed component for a 3GP file.
4511
+ */
4490
4512
  [FileExtension._3gp]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4491
- /** @todo Documentation incomplete. */
4513
+ /**
4514
+ * Creates an embed component for an AVIF file.
4515
+ */
4492
4516
  [FileExtension.avif]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4493
- /** @todo Documentation incomplete. */
4517
+ /**
4518
+ * Creates an embed component for a BMP file.
4519
+ */
4494
4520
  [FileExtension.bmp]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4495
- /** @todo Documentation incomplete. */
4521
+ /**
4522
+ * Creates an embed component for a canvas file.
4523
+ */
4496
4524
  [FileExtension.canvas]: (context: EmbedContext, file: TFile, subpath?: string) => EmbedCanvasComponent;
4497
- /** @todo Documentation incomplete. */
4525
+ /**
4526
+ * Creates an embed component for a FLAC file.
4527
+ */
4498
4528
  [FileExtension.flac]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4499
- /** @todo Documentation incomplete. */
4529
+ /**
4530
+ * Creates an embed component for a GIF file.
4531
+ */
4500
4532
  [FileExtension.gif]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4501
- /** @todo Documentation incomplete. */
4533
+ /**
4534
+ * Creates an embed component for a JPEG file.
4535
+ */
4502
4536
  [FileExtension.jpeg]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4503
- /** @todo Documentation incomplete. */
4537
+ /**
4538
+ * Creates an embed component for a JPG file.
4539
+ */
4504
4540
  [FileExtension.jpg]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4505
- /** @todo Documentation incomplete. */
4541
+ /**
4542
+ * Creates an embed component for an M4A file.
4543
+ */
4506
4544
  [FileExtension.m4a]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4507
- /** @todo Documentation incomplete. */
4545
+ /**
4546
+ * Creates an embed component for a markdown file.
4547
+ */
4508
4548
  [FileExtension.md]: (context: EmbedContext, file: TFile, subpath?: string) => EmbedMarkdownComponent;
4509
- /** @todo Documentation incomplete. */
4549
+ /**
4550
+ * Creates an embed component for a MKV file.
4551
+ */
4510
4552
  [FileExtension.mkv]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
4511
- /** @todo Documentation incomplete. */
4553
+ /**
4554
+ * Creates an embed component for a MOV file.
4555
+ */
4512
4556
  [FileExtension.mov]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
4513
- /** @todo Documentation incomplete. */
4557
+ /**
4558
+ * Creates an embed component for an MP3 file.
4559
+ */
4514
4560
  [FileExtension.mp3]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4515
- /** @todo Documentation incomplete. */
4561
+ /**
4562
+ * Creates an embed component for an MP4 file.
4563
+ */
4516
4564
  [FileExtension.mp4]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
4517
- /** @todo Documentation incomplete. */
4565
+ /**
4566
+ * Creates an embed component for an OGA file.
4567
+ */
4518
4568
  [FileExtension.oga]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4519
- /** @todo Documentation incomplete. */
4569
+ /**
4570
+ * Creates an embed component for an OGG file.
4571
+ */
4520
4572
  [FileExtension.ogg]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4521
- /** @todo Documentation incomplete. */
4573
+ /**
4574
+ * Creates an embed component for an OGV file.
4575
+ */
4522
4576
  [FileExtension.ogv]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
4523
- /** @todo Documentation incomplete. */
4577
+ /**
4578
+ * Creates an embed component for an OPUS file.
4579
+ */
4524
4580
  [FileExtension.opus]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4525
- /** @todo Documentation incomplete. */
4581
+ /**
4582
+ * Creates an embed component for a PDF file.
4583
+ */
4526
4584
  [FileExtension.pdf]: (context: EmbedContext, file: TFile, subpath?: string) => EmbedPdfComponent;
4527
- /** @todo Documentation incomplete. */
4585
+ /**
4586
+ * Creates an embed component for a PNG file.
4587
+ */
4528
4588
  [FileExtension.png]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4529
- /** @todo Documentation incomplete. */
4589
+ /**
4590
+ * Creates an embed component for an SVG file.
4591
+ */
4530
4592
  [FileExtension.svg]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4531
- /** @todo Documentation incomplete. */
4593
+ /**
4594
+ * Creates an embed component for a WAV file.
4595
+ */
4532
4596
  [FileExtension.wav]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
4533
- /** @todo Documentation incomplete. */
4597
+ /**
4598
+ * Creates an embed component for a WEBM file.
4599
+ */
4534
4600
  [FileExtension.webm]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
4535
- /** @todo Documentation incomplete. */
4601
+ /**
4602
+ * Creates an embed component for a WEBP file.
4603
+ */
4536
4604
  [FileExtension.webp]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
4537
4605
  }
4538
4606
  /**
4539
- * @todo Documentation incomplete.
4607
+ * A component that renders an embedded video file.
4608
+ *
4540
4609
  * @public
4541
4610
  * @unofficial
4542
4611
  */
4543
- export interface EmbedVideoComponent extends Component {
4612
+ export interface EmbedVideoComponent extends EmbedComponent {
4544
4613
  }
4545
4614
  /**
4546
4615
  * @todo Documentation incomplete.
@@ -9812,13 +9881,9 @@ export interface SuggestionContainer<T> {
9812
9881
  * @remark Prefer setSelectedItem, which clamps the index to within suggestions array.
9813
9882
  */
9814
9883
  forceSetSelectedItem(index: number, event: Event): void;
9815
- /**
9816
- * @todo Documentation incomplete.
9817
- */
9884
+ /** @todo Documentation incomplete. */
9818
9885
  getSelectedElement(): HTMLElement | null;
9819
- /**
9820
- * @todo Documentation incomplete.
9821
- */
9886
+ /** @todo Documentation incomplete. */
9822
9887
  getSelectedValue(): SearchResult | null;
9823
9888
  /**
9824
9889
  * Move selected item to next suggestion.
@@ -11427,12 +11492,17 @@ export type ContentPosition = [
11427
11492
  endOffset: number
11428
11493
  ];
11429
11494
  /**
11430
- * @todo Documentation incomplete.
11495
+ * Creates an embed component for a given file.
11496
+ *
11497
+ * @param context - Context used to embed the file.
11498
+ * @param file - File to embed.
11499
+ * @param subpath - Optional subpath within the file.
11500
+ * @returns An embed component.
11431
11501
  *
11432
11502
  * @public
11433
11503
  * @unofficial
11434
11504
  */
11435
- export type EmbeddableConstructor = (context: EmbedContext, file: TFile, subpath?: string) => Component;
11505
+ export type EmbedCreator = (context: EmbedContext, file: TFile, subpath?: string) => EmbedComponent;
11436
11506
  /**
11437
11507
  * @todo Documentation incomplete.
11438
11508
  *
@@ -20519,21 +20519,36 @@ export interface ElectronWindow extends BrowserWindow {
20519
20519
  devToolsWebContents: unknown;
20520
20520
  }
20521
20521
  /**
20522
- * @todo Documentation incomplete.
20522
+ * A component that renders an embedded audio file.
20523
+ *
20523
20524
  * @public
20524
20525
  * @unofficial
20525
20526
  */
20526
- export interface EmbedAudioComponent extends Component {
20527
+ export interface EmbedAudioComponent extends EmbedComponent {
20527
20528
  }
20528
20529
  /**
20529
- * @todo Documentation incomplete.
20530
+ * A component that renders an embedded canvas file.
20531
+ *
20530
20532
  * @public
20531
20533
  * @unofficial
20532
20534
  */
20533
- export interface EmbedCanvasComponent extends Component {
20535
+ export interface EmbedCanvasComponent extends EmbedComponent {
20534
20536
  }
20535
20537
  /**
20536
- * @todo Documentation incomplete.
20538
+ * The component that renders the embedded file.
20539
+ *
20540
+ * @public
20541
+ * @unofficial
20542
+ */
20543
+ export interface EmbedComponent extends Component {
20544
+ /**
20545
+ * Load the file into the component.
20546
+ */
20547
+ loadFile(): void;
20548
+ }
20549
+ /**
20550
+ * A context to configure embedding of a file.
20551
+ *
20537
20552
  * @public
20538
20553
  * @unofficial
20539
20554
  */
@@ -20570,28 +20585,32 @@ export interface EmbedContext {
20570
20585
  state?: unknown;
20571
20586
  }
20572
20587
  /**
20573
- * @todo Documentation incomplete.
20588
+ * A component that renders an embedded image file.
20589
+ *
20574
20590
  * @public
20575
20591
  * @unofficial
20576
20592
  */
20577
- export interface EmbedImageComponent extends Component {
20593
+ export interface EmbedImageComponent extends EmbedComponent {
20578
20594
  }
20579
20595
  /**
20580
- * @todo Documentation incomplete.
20596
+ * A component that renders an embedded markdown file.
20597
+ *
20581
20598
  * @public
20582
20599
  * @unofficial
20583
20600
  */
20584
- export interface EmbedMarkdownComponent extends Component {
20601
+ export interface EmbedMarkdownComponent extends EmbedComponent {
20585
20602
  }
20586
20603
  /**
20587
- * @todo Documentation incomplete.
20604
+ * A component that renders an embedded PDF file.
20605
+ *
20588
20606
  * @public
20589
20607
  * @unofficial
20590
20608
  */
20591
- export interface EmbedPdfComponent extends Component {
20609
+ export interface EmbedPdfComponent extends EmbedComponent {
20592
20610
  }
20593
20611
  /**
20594
- * @todo Documentation incomplete.
20612
+ * A registry for embeddable files components.
20613
+ *
20595
20614
  * @public
20596
20615
  * @unofficial
20597
20616
  */
@@ -20603,7 +20622,7 @@ export interface EmbedRegistry extends Events {
20603
20622
  /**
20604
20623
  * Get the embed constructor for a specific file type.
20605
20624
  */
20606
- getEmbedCreator(file: TFile): EmbeddableConstructor | null;
20625
+ getEmbedCreator(file: TFile): EmbedCreator | null;
20607
20626
  /**
20608
20627
  * Check whether a file extension has a registered embed constructor.
20609
20628
  */
@@ -20611,11 +20630,11 @@ export interface EmbedRegistry extends Events {
20611
20630
  /**
20612
20631
  * Register an embed constructor for a specific file extension.
20613
20632
  */
20614
- registerExtension(extension: string, embedCreator: EmbeddableConstructor): void;
20633
+ registerExtension(extension: string, embedCreator: EmbedCreator): void;
20615
20634
  /**
20616
20635
  * Register an embed constructor for a list of file extensions.
20617
20636
  */
20618
- registerExtensions(extensions: string[], embedCreator: EmbeddableConstructor): void;
20637
+ registerExtensions(extensions: string[], embedCreator: EmbedCreator): void;
20619
20638
  /**
20620
20639
  * Unregister an embed constructor for a specific file extension.
20621
20640
  */
@@ -20626,66 +20645,116 @@ export interface EmbedRegistry extends Events {
20626
20645
  unregisterExtensions(extensions: string[]): void;
20627
20646
  }
20628
20647
  /**
20629
- * @todo Documentation incomplete.
20648
+ * A record of embeddable file extensions and their creators.
20649
+ *
20630
20650
  * @public
20631
20651
  * @unofficial
20632
20652
  */
20633
- export interface EmbedRegistryEmbedByExtensionRecord extends Record<string, EmbeddableConstructor> {
20634
- /** @todo Documentation incomplete. */
20653
+ export interface EmbedRegistryEmbedByExtensionRecord extends Record<string, EmbedCreator> {
20654
+ /**
20655
+ * Creates an embed component for a 3GP file.
20656
+ */
20635
20657
  [FileExtension._3gp]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20636
- /** @todo Documentation incomplete. */
20658
+ /**
20659
+ * Creates an embed component for an AVIF file.
20660
+ */
20637
20661
  [FileExtension.avif]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20638
- /** @todo Documentation incomplete. */
20662
+ /**
20663
+ * Creates an embed component for a BMP file.
20664
+ */
20639
20665
  [FileExtension.bmp]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20640
- /** @todo Documentation incomplete. */
20666
+ /**
20667
+ * Creates an embed component for a canvas file.
20668
+ */
20641
20669
  [FileExtension.canvas]: (context: EmbedContext, file: TFile, subpath?: string) => EmbedCanvasComponent;
20642
- /** @todo Documentation incomplete. */
20670
+ /**
20671
+ * Creates an embed component for a FLAC file.
20672
+ */
20643
20673
  [FileExtension.flac]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20644
- /** @todo Documentation incomplete. */
20674
+ /**
20675
+ * Creates an embed component for a GIF file.
20676
+ */
20645
20677
  [FileExtension.gif]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20646
- /** @todo Documentation incomplete. */
20678
+ /**
20679
+ * Creates an embed component for a JPEG file.
20680
+ */
20647
20681
  [FileExtension.jpeg]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20648
- /** @todo Documentation incomplete. */
20682
+ /**
20683
+ * Creates an embed component for a JPG file.
20684
+ */
20649
20685
  [FileExtension.jpg]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20650
- /** @todo Documentation incomplete. */
20686
+ /**
20687
+ * Creates an embed component for an M4A file.
20688
+ */
20651
20689
  [FileExtension.m4a]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20652
- /** @todo Documentation incomplete. */
20690
+ /**
20691
+ * Creates an embed component for a markdown file.
20692
+ */
20653
20693
  [FileExtension.md]: (context: EmbedContext, file: TFile, subpath?: string) => EmbedMarkdownComponent;
20654
- /** @todo Documentation incomplete. */
20694
+ /**
20695
+ * Creates an embed component for a MKV file.
20696
+ */
20655
20697
  [FileExtension.mkv]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
20656
- /** @todo Documentation incomplete. */
20698
+ /**
20699
+ * Creates an embed component for a MOV file.
20700
+ */
20657
20701
  [FileExtension.mov]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
20658
- /** @todo Documentation incomplete. */
20702
+ /**
20703
+ * Creates an embed component for an MP3 file.
20704
+ */
20659
20705
  [FileExtension.mp3]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20660
- /** @todo Documentation incomplete. */
20706
+ /**
20707
+ * Creates an embed component for an MP4 file.
20708
+ */
20661
20709
  [FileExtension.mp4]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
20662
- /** @todo Documentation incomplete. */
20710
+ /**
20711
+ * Creates an embed component for an OGA file.
20712
+ */
20663
20713
  [FileExtension.oga]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20664
- /** @todo Documentation incomplete. */
20714
+ /**
20715
+ * Creates an embed component for an OGG file.
20716
+ */
20665
20717
  [FileExtension.ogg]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20666
- /** @todo Documentation incomplete. */
20718
+ /**
20719
+ * Creates an embed component for an OGV file.
20720
+ */
20667
20721
  [FileExtension.ogv]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
20668
- /** @todo Documentation incomplete. */
20722
+ /**
20723
+ * Creates an embed component for an OPUS file.
20724
+ */
20669
20725
  [FileExtension.opus]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20670
- /** @todo Documentation incomplete. */
20726
+ /**
20727
+ * Creates an embed component for a PDF file.
20728
+ */
20671
20729
  [FileExtension.pdf]: (context: EmbedContext, file: TFile, subpath?: string) => EmbedPdfComponent;
20672
- /** @todo Documentation incomplete. */
20730
+ /**
20731
+ * Creates an embed component for a PNG file.
20732
+ */
20673
20733
  [FileExtension.png]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20674
- /** @todo Documentation incomplete. */
20734
+ /**
20735
+ * Creates an embed component for an SVG file.
20736
+ */
20675
20737
  [FileExtension.svg]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20676
- /** @todo Documentation incomplete. */
20738
+ /**
20739
+ * Creates an embed component for a WAV file.
20740
+ */
20677
20741
  [FileExtension.wav]: (context: EmbedContext, file: TFile) => EmbedAudioComponent;
20678
- /** @todo Documentation incomplete. */
20742
+ /**
20743
+ * Creates an embed component for a WEBM file.
20744
+ */
20679
20745
  [FileExtension.webm]: (context: EmbedContext, file: TFile) => EmbedVideoComponent;
20680
- /** @todo Documentation incomplete. */
20746
+ /**
20747
+ * Creates an embed component for a WEBP file.
20748
+ */
20681
20749
  [FileExtension.webp]: (context: EmbedContext, file: TFile) => EmbedImageComponent;
20682
20750
  }
20683
20751
  /**
20684
- * @todo Documentation incomplete.
20752
+ * A component that renders an embedded video file.
20753
+ *
20685
20754
  * @public
20686
20755
  * @unofficial
20687
20756
  */
20688
- export interface EmbedVideoComponent extends Component {
20757
+ export interface EmbedVideoComponent extends EmbedComponent {
20689
20758
  }
20690
20759
  /**
20691
20760
  * @todo Documentation incomplete.
@@ -25957,13 +26026,9 @@ export interface SuggestionContainer<T> {
25957
26026
  * @remark Prefer setSelectedItem, which clamps the index to within suggestions array.
25958
26027
  */
25959
26028
  forceSetSelectedItem(index: number, event: Event): void;
25960
- /**
25961
- * @todo Documentation incomplete.
25962
- */
26029
+ /** @todo Documentation incomplete. */
25963
26030
  getSelectedElement(): HTMLElement | null;
25964
- /**
25965
- * @todo Documentation incomplete.
25966
- */
26031
+ /** @todo Documentation incomplete. */
25967
26032
  getSelectedValue(): SearchResult | null;
25968
26033
  /**
25969
26034
  * Move selected item to next suggestion.
@@ -27421,12 +27486,17 @@ export type ContentPosition = [
27421
27486
  endOffset: number
27422
27487
  ];
27423
27488
  /**
27424
- * @todo Documentation incomplete.
27489
+ * Creates an embed component for a given file.
27490
+ *
27491
+ * @param context - Context used to embed the file.
27492
+ * @param file - File to embed.
27493
+ * @param subpath - Optional subpath within the file.
27494
+ * @returns An embed component.
27425
27495
  *
27426
27496
  * @public
27427
27497
  * @unofficial
27428
27498
  */
27429
- export type EmbeddableConstructor = (context: EmbedContext, file: TFile, subpath?: string) => Component;
27499
+ export type EmbedCreator = (context: EmbedContext, file: TFile, subpath?: string) => EmbedComponent;
27430
27500
  /**
27431
27501
  * @todo Documentation incomplete.
27432
27502
  *