hoshimi 0.2.5 → 0.3.1

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.
package/dist/index.d.mts CHANGED
@@ -817,7 +817,7 @@ declare class NodeManager {
817
817
  /**
818
818
  *
819
819
  * Delete the node.
820
- * @param {string} id The id of the node to delete.
820
+ * @param {NodeIdentifier} node The node or node id to delete.
821
821
  * @returns {boolean} If the node was deleted.
822
822
  * @example
823
823
  * ```ts
@@ -825,34 +825,23 @@ declare class NodeManager {
825
825
  * if (node) manager.nodeManager.delete(node.id); // true if the node was deleted
826
826
  * ```
827
827
  */
828
- delete(id: string): boolean;
828
+ delete(node: NodeIdentifier): boolean;
829
829
  /**
830
830
  *
831
831
  * Get the node by id.
832
- * @param {string} id The id of the node.
832
+ * @param {NodeIdentifier} node The node or node id to get.
833
833
  * @returns {NodeStructure | undefined} The node or undefined if not found.
834
834
  * @example
835
835
  * ```ts
836
836
  * const node = manager.nodeManager.get("node1");
837
- * if (node) console.log(node.id); // node1
838
- * ```
839
- */
840
- get(id: string): NodeStructure | undefined;
841
- /**
842
- *
843
- * Get the least used node.
844
- * @returns {NodeStructure} The least used node.
845
- * @example
846
- * ```ts
847
- * const node = manager.nodeManager.getLeastUsed();
848
837
  * if (node) {
849
838
  * console.log(node.id); // node1
850
- * console.log(node.penalties); // the penalties of the node
851
- * console.log(node.state); // the state of the node
839
+ * } else {
840
+ * console.log("Node not found");
852
841
  * }
853
842
  * ```
854
843
  */
855
- getLeastUsed(sortType?: NodeSortTypes): NodeStructure;
844
+ get(node: NodeIdentifier): NodeStructure | undefined;
856
845
  /**
857
846
  *
858
847
  * Create a new node.
@@ -872,7 +861,20 @@ declare class NodeManager {
872
861
  create(options: NodeOptions): NodeStructure;
873
862
  /**
874
863
  *
875
- * Reconnect the nodes.
864
+ * Destroy a node.
865
+ * @param {NodeIdentifier} node The node or node id to destroy.
866
+ * @returns {void}
867
+ * @example
868
+ * ```ts
869
+ * const node = manager.nodeManager.get("node1");
870
+ * if (node) node.destroy();
871
+ * ```
872
+ */
873
+ destroy(node: NodeIdentifier): void;
874
+ /**
875
+ *
876
+ * Reconnect a node.
877
+ * @param {NodeIdentifier} node The node or node id to reconnect.
876
878
  * @returns {void}
877
879
  * @example
878
880
  * ```ts
@@ -880,9 +882,11 @@ declare class NodeManager {
880
882
  * if (node) node.reconnect();
881
883
  * ```
882
884
  */
883
- reconnect(): void;
885
+ reconnect(node: NodeIdentifier): void;
884
886
  /**
885
- * Disconnect the nodes.
887
+ *
888
+ * Disconnect a node.
889
+ * @param {NodeIdentifier} node The node or node id to disconnect.
886
890
  * @returns {void}
887
891
  * @example
888
892
  * ```ts
@@ -890,7 +894,55 @@ declare class NodeManager {
890
894
  * if (node) node.disconnect();
891
895
  * ```
892
896
  */
893
- disconnect(): void;
897
+ disconnect(node: NodeIdentifier): void;
898
+ /**
899
+ *
900
+ * Connect a node.
901
+ * @param {NodeIdentifier} node The node or node id to connect.
902
+ * @returns {void}
903
+ * @example
904
+ * ```ts
905
+ * const node = manager.nodeManager.get("node1");
906
+ * if (node) node.connect();
907
+ * ```
908
+ */
909
+ connect(node: NodeIdentifier): void;
910
+ /**
911
+ *
912
+ * Get the least used node.
913
+ * @returns {NodeStructure} The least used node.
914
+ * @example
915
+ * ```ts
916
+ * const node = manager.nodeManager.getLeastUsed();
917
+ * if (node) {
918
+ * console.log(node.id); // node1
919
+ * console.log(node.penalties); // the penalties of the node
920
+ * console.log(node.state); // the state of the node
921
+ * }
922
+ * ```
923
+ */
924
+ getLeastUsed(sortType?: NodeSortTypes): NodeStructure;
925
+ /**
926
+ *
927
+ * Reconnect the nodes.
928
+ * @returns {void}
929
+ * @example
930
+ * ```ts
931
+ * const node = manager.nodeManager.get("node1");
932
+ * if (node) node.reconnectAll();
933
+ * ```
934
+ */
935
+ reconnectAll(): void;
936
+ /**
937
+ * Disconnect the nodes.
938
+ * @returns {void}
939
+ * @example
940
+ * ```ts
941
+ * const node = manager.nodeManager.get("node1");
942
+ * if (node) node.disconnectAll();
943
+ * ```
944
+ */
945
+ disconnectAll(): void;
894
946
  /**
895
947
  * Connect the nodes.
896
948
  * @returns {void}
@@ -900,7 +952,7 @@ declare class NodeManager {
900
952
  * if (node) node.connect();
901
953
  * ```
902
954
  */
903
- connect(): void;
955
+ connectAll(): void;
904
956
  /**
905
957
  * Destroy the nodes.
906
958
  * @returns {void}
@@ -910,7 +962,7 @@ declare class NodeManager {
910
962
  * if (node) node.destroy();
911
963
  * ```
912
964
  */
913
- destroy(): void;
965
+ destroyAll(): void;
914
966
  }
915
967
 
916
968
  /**
@@ -919,29 +971,53 @@ declare class NodeManager {
919
971
  declare enum HttpMethods {
920
972
  /**
921
973
  * The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.
974
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET
975
+ * @type {string}
922
976
  */
923
977
  Get = "GET",
924
978
  /**
925
979
  * The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
980
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST
981
+ * @type {string}
926
982
  */
927
983
  Post = "POST",
928
984
  /**
929
985
  * The PUT method replaces all current representations of the target resource with the request payload.
986
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT
987
+ * @type {string}
930
988
  */
931
989
  Put = "PUT",
932
990
  /**
933
991
  * The PATCH method is used to apply partial modifications to a resource.
992
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH
993
+ * @type {string}
934
994
  */
935
995
  Patch = "PATCH",
936
996
  /**
937
997
  * The DELETE method deletes the specified resource.
998
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/DELETE
999
+ * @type {string}
938
1000
  */
939
1001
  Delete = "DELETE",
940
1002
  /**
941
1003
  * The HEAD method asks for a response identical to that of a GET request, but without the response body.
1004
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD
1005
+ * @type {string}
942
1006
  */
943
1007
  Head = "HEAD"
944
1008
  }
1009
+ declare enum RestPathType {
1010
+ /**
1011
+ * The raw path of the request.
1012
+ * @type {string}
1013
+ */
1014
+ Raw = "/",
1015
+ /**
1016
+ * The versioned path v4 of the request.
1017
+ * @type {string}
1018
+ */
1019
+ V4 = "/v4"
1020
+ }
945
1021
  /**
946
1022
  * The status codes for the REST.
947
1023
  * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
@@ -949,86 +1025,107 @@ declare enum HttpMethods {
949
1025
  declare enum HttpStatusCodes {
950
1026
  /**
951
1027
  * The request has succeeded.
1028
+ * @type {number}
952
1029
  */
953
1030
  OK = 200,
954
1031
  /**
955
1032
  * The request has been fulfilled and resulted in a new resource being created.
1033
+ * @type {number}
956
1034
  */
957
1035
  Created = 201,
958
1036
  /**
959
1037
  * The request has been accepted for processing, but the processing has not been completed.
1038
+ * @type {number}
960
1039
  */
961
1040
  Accepted = 202,
962
1041
  /**
963
1042
  * The server successfully processed the request, but is not returning any content.
1043
+ * @type {number}
964
1044
  */
965
1045
  NoContent = 204,
966
1046
  /**
967
1047
  * The resource has been moved permanently to a new URI.
1048
+ * @type {number}
968
1049
  */
969
1050
  MovedPermanently = 301,
970
1051
  /**
971
1052
  * The requested resource has been found at a different URI.
1053
+ * @type {number}
972
1054
  */
973
1055
  Found = 302,
974
1056
  /**
975
1057
  * The resource has not been modified since the last request.
1058
+ * @type {number}
976
1059
  */
977
1060
  NotModified = 304,
978
1061
  /**
979
1062
  * The request cannot be processed due to bad syntax.
1063
+ * @type {number}
980
1064
  */
981
1065
  BadRequest = 400,
982
1066
  /**
983
1067
  * The request requires user authentication.
1068
+ * @type {number}
984
1069
  */
985
1070
  Unauthorized = 401,
986
1071
  /**
987
1072
  * The request was valid, but the server is refusing action.
1073
+ * @type {number}
988
1074
  */
989
1075
  Forbidden = 403,
990
1076
  /**
991
1077
  * The server cannot find the requested resource.
1078
+ * @type {number}
992
1079
  */
993
1080
  NotFound = 404,
994
1081
  /**
995
1082
  * The request method is known by the server but has been disabled and cannot be used.
1083
+ * @type {number}
996
1084
  */
997
1085
  MethodNotAllowed = 405,
998
1086
  /**
999
1087
  * The server timed out waiting for the request.
1088
+ * @type {number}
1000
1089
  */
1001
1090
  RequestTimeout = 408,
1002
1091
  /**
1003
1092
  * The request could not be completed due to a conflict with the current state of the resource.
1093
+ * @type {number}
1004
1094
  */
1005
1095
  Conflict = 409,
1006
1096
  /**
1007
1097
  * The requested resource is no longer available and will not be available again.
1098
+ * @type {number}
1008
1099
  */
1009
1100
  Gone = 410,
1010
1101
  /**
1011
1102
  * The user has sent too many requests in a given amount of time.
1103
+ * @type {number}
1012
1104
  */
1013
1105
  TooManyRequests = 429,
1014
1106
  /**
1015
1107
  * A generic error message, given when no more specific message is suitable.
1108
+ * @type {number}
1016
1109
  */
1017
1110
  InternalServerError = 500,
1018
1111
  /**
1019
1112
  * The server does not recognize the request method or lacks the ability to fulfill it.
1113
+ * @type {number}
1020
1114
  */
1021
1115
  NotImplemented = 501,
1022
1116
  /**
1023
1117
  * The server was acting as a gateway and received an invalid response.
1118
+ * @type {number}
1024
1119
  */
1025
1120
  BadGateway = 502,
1026
1121
  /**
1027
1122
  * The server is currently unavailable (overloaded or down).
1123
+ * @type {number}
1028
1124
  */
1029
1125
  ServiceUnavailable = 503,
1030
1126
  /**
1031
1127
  * The server did not receive a timely response from an upstream server.
1128
+ * @type {number}
1032
1129
  */
1033
1130
  GatewayTimeout = 504
1034
1131
  }
@@ -1061,6 +1158,11 @@ interface RestOptions {
1061
1158
  * @type {Record<string, string>}
1062
1159
  */
1063
1160
  params?: Record<string, string>;
1161
+ /**
1162
+ * The path type for the REST.
1163
+ * @type {RestPathType}
1164
+ */
1165
+ pathType?: RestPathType;
1064
1166
  }
1065
1167
  /**
1066
1168
  * The fetch options for the request.
@@ -1404,30 +1506,30 @@ declare class DSPXPluginFilter {
1404
1506
  *
1405
1507
  * Set the low-pass filter with the given settings.
1406
1508
  * @param {FilterPluginPassSettings} [settings=DefaultFilter.DSPXLowPass] The settings for the low-pass filter.
1407
- * @returns {Promise<boolean>} Whether the filter is now active.
1509
+ * @returns {Promise<this>} The instance of the filter manager.
1408
1510
  */
1409
- setLowPass(settings?: Partial<FilterPluginPassSettings>): Promise<boolean>;
1511
+ setLowPass(settings?: Partial<FilterPluginPassSettings>): Promise<this>;
1410
1512
  /**
1411
1513
  *
1412
1514
  * Set the high-pass filter with the given settings.
1413
1515
  * @param {FilterPluginPassSettings} [settings=DefaultFilter.DSPXHighPass] The settings for the high-pass filter.
1414
- * @returns {Promise<boolean>} Whether the filter is now active.
1516
+ * @returns {Promise<this>} The instance of the filter manager.
1415
1517
  */
1416
- setHighPass(settings?: Partial<FilterPluginPassSettings>): Promise<boolean>;
1518
+ setHighPass(settings?: Partial<FilterPluginPassSettings>): Promise<this>;
1417
1519
  /**
1418
1520
  *
1419
1521
  * Set the normalization filter with the given settings.
1420
1522
  * @param {NormalizationSettings} [settings=DefaultFilter.DSPXNormalization] The settings for the normalization filter.
1421
- * @returns {Promise<boolean>} Whether the filter is now active.
1523
+ * @returns {Promise<this>} The instance of the filter manager.
1422
1524
  */
1423
- setNormalization(settings?: Partial<NormalizationSettings>): Promise<boolean>;
1525
+ setNormalization(settings?: Partial<NormalizationSettings>): Promise<this>;
1424
1526
  /**
1425
1527
  *
1426
1528
  * Set the echo filter with the given settings.
1427
1529
  * @param {EchoSettings} [settings=DefaultFilter.DSPXEcho] The settings for the echo filter.
1428
- * @returns {Promise<boolean>} Whether the filter is now active.
1530
+ * @returns {Promise<this>} The instance of the filter manager.
1429
1531
  */
1430
- setEcho(settings?: Partial<EchoSettings>): Promise<boolean>;
1532
+ setEcho(settings?: Partial<EchoSettings>): Promise<this>;
1431
1533
  }
1432
1534
 
1433
1535
  type NonLengthEchoSettings = Omit$1<EchoSettings, "echoLength">;
@@ -1452,16 +1554,16 @@ declare class LavalinkPluginFilter {
1452
1554
  *
1453
1555
  * Set the echo filter with the given settings.
1454
1556
  * @param {Omit<EchoSettings, "echoLength">} [settings=DefaultFilter.PluginEcho] The settings for the echo filter.
1455
- * @returns {Promise<boolean>} Whether the filter is now active.
1557
+ * @returns {Promise<this>} The instance of the filter manager.
1456
1558
  */
1457
- setEcho(settings?: Partial<NonLengthEchoSettings>): Promise<boolean>;
1559
+ setEcho(settings?: Partial<NonLengthEchoSettings>): Promise<this>;
1458
1560
  /**
1459
1561
  *
1460
1562
  * Set the reverb filter with the given settings.
1461
1563
  * @param {Partial<LavalinkFilterPluginReverbSettings>} [settings=DefaultFilter.PluginReverb] The settings for the reverb filter.
1462
- * @returns {Promise<boolean>} Whether the filter is now active.
1564
+ * @returns {Promise<this>} The instance of the filter manager.
1463
1565
  */
1464
- setReverb(settings?: Partial<LavalinkFilterPluginReverbSettings>): Promise<boolean>;
1566
+ setReverb(settings?: Partial<LavalinkFilterPluginReverbSettings>): Promise<this>;
1465
1567
  }
1466
1568
 
1467
1569
  /**
@@ -1511,23 +1613,17 @@ declare class FilterManager {
1511
1613
  * @param {PlayerStructure} player The player this filter manager belongs to.
1512
1614
  */
1513
1615
  constructor(player: PlayerStructure);
1514
- /**
1515
- *
1516
- * Checks if a custom filter is active.
1517
- * @returns {boolean} True if a custom filter is active, false otherwise.
1518
- */
1519
- isCustom(): boolean;
1520
1616
  /**
1521
1617
  * Resets all filters to their default values.
1522
- * @returns {Promise<void>} A promise that resolves when the filters have been reset.
1618
+ * @returns {Promise<this>} A promise that resolves to the instance of the filter manager.
1523
1619
  */
1524
- reset(): Promise<void>;
1620
+ reset(): Promise<this>;
1525
1621
  /**
1526
1622
  *
1527
1623
  * Applies the current filters to the player.
1528
- * @returns {Promise<void>} A promise that resolves when the filters have been applied.
1624
+ * @returns {Promise<this>} A promise that resolves to the instance of the filter manager.
1529
1625
  */
1530
- apply(): Promise<void>;
1626
+ apply(): Promise<this>;
1531
1627
  /**
1532
1628
  * Checks if the current filters are active.
1533
1629
  * @param {TimescaleSettings} timescale The timescale settings to check against.
@@ -1545,36 +1641,36 @@ declare class FilterManager {
1545
1641
  *
1546
1642
  * Sets the volume for the player.
1547
1643
  * @param {number} volume The volume level to set (between 0 and 5).
1548
- * @returns {Promise<boolean>} A promise that resolves to true if the volume was changed, false otherwise.
1644
+ * @returns {Promise<this>} A promise that resolves to the player instance.
1549
1645
  */
1550
- setVolume(volume: number): Promise<boolean>;
1646
+ setVolume(volume: number): Promise<this>;
1551
1647
  /**
1552
1648
  * Sets the audio output for the player.
1553
1649
  * @param {AudioOutput} output The audio output to set.
1554
- * @returns {Promise<AudioOutput>} A promise that resolves to the set audio output.
1650
+ * @returns {Promise<this>} A promise that resolves to the player instance.
1555
1651
  */
1556
- setAudioOutput(output: AudioOutput): Promise<AudioOutput>;
1652
+ setAudioOutput(output: AudioOutput): Promise<this>;
1557
1653
  /**
1558
1654
  *
1559
1655
  * Sets the speed for the player.
1560
1656
  * @param {number} speed The speed to set (default is 1).
1561
- * @returns {Promise<boolean>} A promise that resolves to true if a custom filter is active, false otherwise.
1657
+ * @returns {Promise<this>} A promise that resolves to the player instance.
1562
1658
  */
1563
- setSpeed(speed?: number): Promise<boolean>;
1659
+ setSpeed(speed?: number): Promise<this>;
1564
1660
  /**
1565
1661
  *
1566
1662
  * Sets the rate for the player.
1567
1663
  * @param {number} rate The rate to set (default is 1).
1568
- * @returns {Promise<boolean>} A promise that resolves to true if a custom filter is active, false otherwise.
1664
+ * @returns {Promise<this>} A promise that resolves to the player instance.
1569
1665
  */
1570
- setRate(rate?: number): Promise<boolean>;
1666
+ setRate(rate?: number): Promise<this>;
1571
1667
  /**
1572
1668
  *
1573
1669
  * Sets the pitch for the player.
1574
1670
  * @param {number} pitch The pitch
1575
- * @returns {Promise<boolean>} A promise that resolves to true if a custom filter is active, false otherwise.
1671
+ * @returns {Promise<this>} A promise that resolves to the player instance.
1576
1672
  */
1577
- setPitch(pitch?: number): Promise<boolean>;
1673
+ setPitch(pitch?: number): Promise<this>;
1578
1674
  /**
1579
1675
  *
1580
1676
  * Sets the EQ bands for the player.
@@ -1592,56 +1688,56 @@ declare class FilterManager {
1592
1688
  *
1593
1689
  * Set the vibrato filter with the given settings.
1594
1690
  * @param {TremoloSettings} [settings=DefaultFilterPreset.Vibrato] The settings for the vibrato filter.
1595
- * @returns {Promise<boolean>} Whether the filter is now active.
1691
+ * @returns {Promise<this>} The instance of the filter manager.
1596
1692
  */
1597
- setVibrato(settings?: Partial<TremoloSettings>): Promise<boolean>;
1693
+ setVibrato(settings?: Partial<TremoloSettings>): Promise<this>;
1598
1694
  /**
1599
1695
  *
1600
1696
  * Set the tremolo filter with the given settings.
1601
1697
  * @param {TremoloSettings} [settings=DefaultFilterPreset.Tremolo] The settings for the tremolo filter.
1602
- * @returns {Promise<boolean>} Whether the filter is now active.
1698
+ * @returns {Promise<this>} The instance of the filter manager.
1603
1699
  */
1604
- setTremolo(settings?: Partial<TremoloSettings>): Promise<boolean>;
1700
+ setTremolo(settings?: Partial<TremoloSettings>): Promise<this>;
1605
1701
  /**
1606
1702
  *
1607
1703
  * Set the low-pass filter with the given settings.
1608
1704
  * @param {LowPassSettings} [settings=DefaultFilterPreset.Lowpass] The settings for the low-pass filter.
1609
- * @returns {Promise<boolean>} Whether the filter is now active.
1705
+ * @returns {Promise<this>} The instance of the filter manager.
1610
1706
  */
1611
- setLowPass(settings?: Partial<LowPassSettings>): Promise<boolean>;
1707
+ setLowPass(settings?: Partial<LowPassSettings>): Promise<this>;
1612
1708
  /**
1613
1709
  * Set the nightcore filter with the given settings.
1614
1710
  * @param {Partial<TimescaleSettings>} [settings=DefaultFilterPreset.Nightcore] The settings for the nightcore filter.
1615
- * @returns {Promise<boolean>} Whether the filter is now active.
1711
+ * @returns {Promise<this>} The instance of the filter manager.
1616
1712
  */
1617
- setNightcore(settings?: Partial<TimescaleSettings>): Promise<boolean>;
1713
+ setNightcore(settings?: Partial<TimescaleSettings>): Promise<this>;
1618
1714
  /**
1619
1715
  *
1620
1716
  * Set the vaporwave filter with the given settings.
1621
1717
  * @param {Partial<TimescaleSettings>} [settings=DefaultFilterPreset.Vaporwave] The settings for the vaporwave filter.
1622
- * @returns {Promise<boolean>} Whether the filter is now active.
1718
+ * @returns {Promise<this>} The instance of the filter manager.
1623
1719
  */
1624
- setVaporwave(settings?: Partial<TimescaleSettings>): Promise<boolean>;
1720
+ setVaporwave(settings?: Partial<TimescaleSettings>): Promise<this>;
1625
1721
  /**
1626
1722
  *
1627
1723
  * Set the karaoke filter with the given settings.
1628
1724
  * @param {KaraokeSettings} [settings=DefaultFilterPreset.Karaoke] The settings for the karaoke filter.
1629
- * @returns {Promise<boolean>} Whether the filter is now active.
1725
+ * @returns {Promise<this>} The instance of the filter manager.
1630
1726
  */
1631
- setKaraoke(settings?: Partial<KaraokeSettings>): Promise<boolean>;
1727
+ setKaraoke(settings?: Partial<KaraokeSettings>): Promise<this>;
1632
1728
  /**
1633
1729
  *
1634
1730
  * Set the distortion filter with the given settings.
1635
1731
  * @param {Partial<DistortionSettings>} [settings=DefaultFilterPreset.Distortion] The settings for the distortion filter.
1636
- * @returns {Promise<boolean>} Whether the filter is now active.
1732
+ * @returns {Promise<this>} The instance of the filter manager.
1637
1733
  */
1638
- setDistortion(settings?: Partial<DistortionSettings>): Promise<boolean>;
1734
+ setDistortion(settings?: Partial<DistortionSettings>): Promise<this>;
1639
1735
  /**
1640
1736
  * Set the timescale filter with the given settings.
1641
1737
  * @param {Partial<TimescaleSettings>} settings The timescale settings to set.
1642
- * @returns {Promise<boolean>} Whether the filter is now active.
1738
+ * @returns {Promise<this>} The instance of the filter manager.
1643
1739
  */
1644
- setTimescale(settings: Partial<TimescaleSettings>): Promise<boolean>;
1740
+ setTimescale(settings: Partial<TimescaleSettings>): Promise<this>;
1645
1741
  }
1646
1742
 
1647
1743
  /**
@@ -1686,7 +1782,7 @@ declare class PlayerStorage<K extends StorageKeys = StorageKeys, V extends Stora
1686
1782
  * Get all keys in the storage.
1687
1783
  * @returns {K[]} The keys in the storage.
1688
1784
  */
1689
- keys<K extends StorageKeys[]>(): K;
1785
+ keys<K extends StorageKeys[]>(): K[];
1690
1786
  /**
1691
1787
  * Get all values in the storage.
1692
1788
  * @returns {V[]} The values in the storage.
@@ -5794,4 +5890,4 @@ declare class MemoryAdapter<T extends QueueJson = QueueJson> extends StorageAdap
5794
5890
  stringify<R = string>(value: unknown): R;
5795
5891
  }
5796
5892
 
5797
- export { AudioOutput, type Awaitable, type ChannelDelete, type ChannelDeletePacket, type ChannelMixSettings, type ClientData, type CustomizablePlayerStorage, type CustomizableStructures, type CustomizableTrack, DSPXPluginFilter, DebugLevels, type DecodeMethods, type DeepRequired, DestroyReasons, type DistortionSettings, type EQBandSettings, type EchoSettings, type EnabledDSPXPluginFilters, type EnabledLavalinkFilters, type EnabledPlayerFilters, Events, type Exception, type FetchOptions, FilterManager, type FilterManagerStructure, type FilterPluginPassSettings, type FilterSettings, FilterType, type FreqSettings, type GatewayPayload, type GatewaySendPayload, Hoshimi, type HoshimiEvents, type HoshimiNodeOptions, type HoshimiOptions, type HoshimiQueueOptions, type HoshimiRestOptions, type HoshimiTrack, HttpMethods, HttpStatusCodes, type InferCustomStructure, type Inferable, type KaraokeSettings, type LavalinkFilterPluginEchoSettings, type LavalinkFilterPluginReverbSettings, type LavalinkFilterPluginSettings, type LavalinkPayload, type LavalinkPlayOptions, type LavalinkPlayer, type LavalinkPlayerState, type LavalinkPlayerVoice, LavalinkPluginFilter, type LavalinkRestError, type LavalinkSearchResponse, type LavalinkSession, type LavalinkTrack, LoadType, LoopMode, type LowPassSettings, type LyricsFoundEvent, type LyricsLine, type LyricsLineEvent, type LyricsManagerStructure, type LyricsMethods, type LyricsNotFoundEvent, type LyricsResult, ManagerError, MemoryAdapter, Node, type NodeCpu, type NodeDestroyInfo, NodeDestroyReasons, type NodeDisconnectInfo, NodeError, type NodeFrameStats, type NodeIdentifier, type NodeInfo, type NodeInfoGit, type NodeInfoPlugin, type NodeInfoVersion, type NodeJson, type NodeManagerStructure, type NodeMemory, type NodeOptions, NodeSortTypes, type NodeStructure, type NormalizationSettings, type Nullable, type NullableLavalinkSession, type Omit$1 as Omit, OpCodes, OptionError, type PickNullable, type PickRequired, type PlayOptions, Player, PlayerError, type PlayerEvent, PlayerEventType, type PlayerJson, type PlayerOptions, type PlayerStructure, type PlayerUpdate, type PlayerUpdateState, type PlayerVoice, type Playlist, type PlaylistInfo, type PluginFilterSettings, type PluginInfo, PluginInfoType, PluginNames, type QueryResult, Queue, type QueueJson, type QueueStructure, type Ready, ResolveError, Rest, type RestOptions, type RestOrArray, type RestStructure, type ResumableHeaders, type RotationSettings, SearchEngines, type SearchOptions, type SearchQuery, Severity, SourceNames, State, type Stats, StorageAdapter, StorageError, Structures, type TimescaleSettings, Track, type TrackEndEvent, TrackEndReason, type TrackExceptionEvent, type TrackInfo, type TrackRequester, type TrackStartEvent, type TrackStuckEvent, type TremoloSettings, type UnresolvedLavalinkTrack, UnresolvedTrack, type UnresolvedTrackInfo, type UpdatePlayerInfo, type UserAgent, type VoiceChannelUpdate, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent, WebsocketCloseCodes, createHoshimi };
5893
+ export { AudioOutput, type Awaitable, type ChannelDelete, type ChannelDeletePacket, type ChannelMixSettings, type ClientData, type CustomizablePlayerStorage, type CustomizableStructures, type CustomizableTrack, DSPXPluginFilter, DebugLevels, type DecodeMethods, type DeepRequired, DestroyReasons, type DistortionSettings, type EQBandSettings, type EchoSettings, type EnabledDSPXPluginFilters, type EnabledLavalinkFilters, type EnabledPlayerFilters, Events, type Exception, type FetchOptions, FilterManager, type FilterManagerStructure, type FilterPluginPassSettings, type FilterSettings, FilterType, type FreqSettings, type GatewayPayload, type GatewaySendPayload, Hoshimi, type HoshimiEvents, type HoshimiNodeOptions, type HoshimiOptions, type HoshimiQueueOptions, type HoshimiRestOptions, type HoshimiTrack, HttpMethods, HttpStatusCodes, type InferCustomStructure, type Inferable, type KaraokeSettings, type LavalinkFilterPluginEchoSettings, type LavalinkFilterPluginReverbSettings, type LavalinkFilterPluginSettings, type LavalinkPayload, type LavalinkPlayOptions, type LavalinkPlayer, type LavalinkPlayerState, type LavalinkPlayerVoice, LavalinkPluginFilter, type LavalinkRestError, type LavalinkSearchResponse, type LavalinkSession, type LavalinkTrack, LoadType, LoopMode, type LowPassSettings, type LyricsFoundEvent, type LyricsLine, type LyricsLineEvent, type LyricsManagerStructure, type LyricsMethods, type LyricsNotFoundEvent, type LyricsResult, ManagerError, MemoryAdapter, Node, type NodeCpu, type NodeDestroyInfo, NodeDestroyReasons, type NodeDisconnectInfo, NodeError, type NodeFrameStats, type NodeIdentifier, type NodeInfo, type NodeInfoGit, type NodeInfoPlugin, type NodeInfoVersion, type NodeJson, type NodeManagerStructure, type NodeMemory, type NodeOptions, NodeSortTypes, type NodeStructure, type NormalizationSettings, type Nullable, type NullableLavalinkSession, type Omit$1 as Omit, OpCodes, OptionError, type PickNullable, type PickRequired, type PlayOptions, Player, PlayerError, type PlayerEvent, PlayerEventType, type PlayerJson, type PlayerOptions, type PlayerStructure, type PlayerUpdate, type PlayerUpdateState, type PlayerVoice, type Playlist, type PlaylistInfo, type PluginFilterSettings, type PluginInfo, PluginInfoType, PluginNames, type QueryResult, Queue, type QueueJson, type QueueStructure, type Ready, ResolveError, Rest, type RestOptions, type RestOrArray, RestPathType, type RestStructure, type ResumableHeaders, type RotationSettings, SearchEngines, type SearchOptions, type SearchQuery, Severity, SourceNames, State, type Stats, StorageAdapter, StorageError, Structures, type TimescaleSettings, Track, type TrackEndEvent, TrackEndReason, type TrackExceptionEvent, type TrackInfo, type TrackRequester, type TrackStartEvent, type TrackStuckEvent, type TremoloSettings, type UnresolvedLavalinkTrack, UnresolvedTrack, type UnresolvedTrackInfo, type UpdatePlayerInfo, type UserAgent, type VoiceChannelUpdate, type VoicePacket, type VoiceServer, type VoiceState, type WebSocketClosedEvent, WebsocketCloseCodes, createHoshimi };