InterfaceFilterRepository

interface FilterRepository {
    $select(id: string): {
        fetch(meta?: HttpMetaParams<"none">): Promise<mastodon.v1.Filter>;
        remove(meta?: HttpMetaParams<"none">): Promise<void>;
        update(params?: mastodon.rest.v1.CreateFilterParams, meta?: HttpMetaParams<"json">): Promise<mastodon.v1.Filter>;
    };
    create(params?: mastodon.rest.v1.CreateFilterParams, meta?: HttpMetaParams<"json">): Promise<mastodon.v1.Filter>;
    list(meta?: HttpMetaParams<"none">): Paginator<mastodon.v1.Filter[], undefined>;
}

Methods