import HasRelations from './HasRelations'; export default class HasTimestamps extends HasRelations { /** * The name of the created at attribute on the server side. * * @type {string} * * @protected */ protected static readonly createdAt: string; /** * The name of the updated at attribute on the server side. * * @type {string} * * @protected */ protected static readonly updatedAt: string; /** * Indicates if the model should expect timestamps. * * @type {boolean} */ protected readonly timestamps: boolean; /** * Get the name of the created at attribute. * * @return {string} */ getCreatedAtName(): string; /** * Get the name of the updated at attribute. * * @return {string} */ getUpdatedAtName(): string; /** * Determine if the model uses timestamps. * * @return {boolean} */ usesTimestamps(): boolean; /** * Update the timestamps on remote. * * @return {Promise} */ touch(): Promise; /** * Refresh the timestamps from remote. * * @return {Promise} */ freshTimestamps(): Promise; } //# sourceMappingURL=HasTimestamps.d.ts.map