// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package ozone

// schema: tools.ozone.signature.findCorrelation

import (
	"context"

	"github.com/bluesky-social/indigo/xrpc"
)

// SignatureFindCorrelation_Output is the output of a tools.ozone.signature.findCorrelation call.
type SignatureFindCorrelation_Output struct {
	Details []*SignatureDefs_SigDetail `json:"details" cborgen:"details"`
}

// SignatureFindCorrelation calls the XRPC method "tools.ozone.signature.findCorrelation".
func SignatureFindCorrelation(ctx context.Context, c *xrpc.Client, dids []string) (*SignatureFindCorrelation_Output, error) {
	var out SignatureFindCorrelation_Output

	params := map[string]interface{}{
		"dids": dids,
	}
	if err := c.Do(ctx, xrpc.Query, "", "tools.ozone.signature.findCorrelation", params, nil, &out); err != nil {
		return nil, err
	}

	return &out, nil
}
