interface Result { status?: string; content?: string; errors?: string; token?: string; id?: string; } interface ReadProps { id: string; } interface CreateProps { id?: string; content: string; } interface UpdateProps { id: string; content: string; token: string; } interface DeleteProps { id: string; token: string; } /** * [RentryCo](https://github.com/cto4/rentry-co) -- By [cto4](https://github.com/cto4) * * A Full CRUD super-lite rentry.co wrapper with typescript support and no-dependencies library. */ declare class RentryCo { /** * Create a new rentry.co entry * @returns */ create({ id, content }: CreateProps): Promise; /** * Read rentry.co entry * @returns */ read({ id }: ReadProps): Promise; /** * Update rentry.co entry * @returns */ update({ id, content, token }: UpdateProps): Promise; /** * Delete rentry.co entry * @returns */ delete({ id, token }: DeleteProps): Promise; private csrf; } export { type CreateProps, type DeleteProps, type ReadProps, RentryCo, type Result, type UpdateProps, RentryCo as default };