package store

import (
	"context"

	v1 "github.com/pingcap-inc/pchub/model/v1"
)

type LarkChatStore interface {
	ListAll(ctx context.Context) ([]*v1.LartChat, error)
	Sync(ctx context.Context, news, updates []*v1.LartChat, delIds []string) error
	Search(ctx context.Context, kw string) ([]*v1.LartChat, error)
	MGetByLarkIDs(ctx context.Context, larkIDs []string) ([]*v1.LartChat, error)
}
