import type { BigString } from './Client.js'; export declare class Base { /** Internal storage of the id done in bigint to preserve memory */ _id: bigint; constructor(id: BigString); /** The snowflake id */ get id(): string; set id(value: BigString); get createdAt(): number; /** * Calculates the timestamp in milliseconds associated with a Discord ID/snowflake. * @deprecated Recommend using Object.createdAt or Client.snowflakeToTimestamp if you want to get a timestamp from a id. This is not desired but supported only to keep a similar api to eris. */ static getCreatedAt(id: string): number; /** * Gets the number of milliseconds since epoch represented by an ID/snowflake * @deprecated Recommend using Object.createdAt or Client.snowflakeToTimestamp if you want to get a timestamp from a id. This is not desired but supported only to keep a similar api to eris. */ static getDiscordEpoch(id: string): number; toString(): string; toJSON(props?: string[]): Record; } export default Base; //# sourceMappingURL=Base.d.ts.map