import * as GraphQLSchema from '../gql/graphql';
type ParseError = {
    type: 'error';
};
type ParseOk = {
    type: 'ok';
    data: GraphQLSchema.TargetReferenceInput;
};
/**
 * Parse a target slug into its parts. Returns an error if slug is invalid
 */
export declare function parse(str: string): ParseError | ParseOk;
export {};
//# sourceMappingURL=target-input.d.ts.map